Click or drag to resize
SoDecimationPercentageElement Class

Stores the current shape decimation percentage.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.ElementsSoElement
      OIV.Inventor.ElementsSoFloatElement
        OIV.Inventor.ElementsSoDecimationPercentageElement

Namespace: OIV.Inventor.Elements
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public class SoDecimationPercentageElement : SoFloatElement

The SoDecimationPercentageElement type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberGet

Returns current decimation percentage from the state.

Public methodStatic memberGetClassStackIndex Obsolete.

Returns the stack id for this element.

Public methodStatic memberGetDefault

Returns the default decimation percentage.

Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodPop

Pops element.

(Inherited from SoElement.)
Public methodPush

Pushes element.

(Inherited from SoElement.)
Public methodStatic memberSet(SoState, Single)

Sets the current decimation in the state.

Public methodStatic memberSet(SoState, SoNode, Single)

Sets the current decimation in the state.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

This element stores the current shape decimation percentage. If the OIV.Inventor.Elements.SoDecimationTypeElement is set to "PERCENTAGE", shapes should use this element to determine the desired percentage of the total amount of triangles.

See Also