Skip to content
On this page

class AttributeTessellationData

AttributeTessellationData contains methods to access the attribute tessellation data residing within a GeometryData object.

Properties

PropertyDescription
NameThe name of the AttributeTessellationData object. (Inherited from Object)

Methods

MethodDescription
AddObserverAdds a user-defined observer object to the interface, that will receive events from the interface. (Inherited from Object)
GetClassGet the name of the AttributeTessellationData class. (Inherited from Object)
GetDisplacementThe displacement values. Can be full 3d coords (RealArray, TupleSize=3), or uint16 scalar values (UnsignedShortArray, TupleSize=1). Stored per sub-vertex (Count depends on number of sub-vertices allocated.).
GetDisplacementBiasBias value for Displacement. Used to interpret the Displacement value. Only valid if Displacement values are present, and stored as a scalar values (uint16, UnsignedShortArray).
GetDisplacementScaleScale value for Displacement. Used to interpret the Displacement value. Only valid if Displacement values are present, and stored as a scalar values (uint16, UnsignedShortArray).
GetDisplacementSupportVectorsSupport vectors, if the displacement is stored as scalar values. (Vertex Field)
GetLevelContains the subdivision level for each base geometry triangle, stored as uint8 per base geometry triangle (Triangle Field)
GetOpacityThe opacity values. Stored as uint8 values (UnsignedCharArray, TupleSize=1). Stored per sub-triangle (Count depends on number of sub-triangles allocated.).
GetSubTrianglesCountReturns the total number of tessellated sub-triangles in the geometry.
GetSubTrianglesStartIndexContains the start index of sub-triangles for each triangle, stored as a rid per base geometry triangle (Triangle Field)
GetSubVerticesCountReturns the total number of tessellated sub-vertices in the geometry.
GetSubVerticesStartIndexContains the start index of sub-vertices for each triangle, stored as a rid per base geometry triangle (Triangle Field)
IsAReturns true if AttributeTessellationData is a or is a descendant of the class named as the type parameter. (Inherited from Object)
IsNullReturns true if the AttributeTessellationData object is invalid. (Inherited from Object)
IsSameObjectAsReturns true if the AttributeTessellationData object is valid. (Inherited from Object)
NonNullReturns true if the AttributeTessellationData object is valid. (Inherited from Object)
PrintInfoPrints the content/info of the AttributeTessellationData object to the log. (Inherited from Object)
RemoveObserverRemoves a previously added observer object. (Inherited from Object)

Static methods

MethodDescription
IsClassAReturns true if the class is a or is a descendant of the class named as the type parameter. (Inherited from Object)
SafeCastSafeCast makes sure the input object is of a class that can be cast into spAttributeTessellationData, and if this is the case, returns the object cast into spAttributeTessellationData. (Inherited from Object)

Properties details

Name

The name of the AttributeTessellationData object. (Inherited from Object)

Methods details

AddObserver

Adds a user-defined observer object to the interface, that will receive events from the interface. (Inherited from Object)

GetClass

Get the name of the AttributeTessellationData class. (Inherited from Object)

GetDisplacement

The displacement values. Can be full 3d coords (RealArray, TupleSize=3), or uint16 scalar values (UnsignedShortArray, TupleSize=1). Stored per sub-vertex (Count depends on number of sub-vertices allocated.).

GetDisplacementBias

Bias value for Displacement. Used to interpret the Displacement value. Only valid if Displacement values are present, and stored as a scalar values (uint16, UnsignedShortArray).

GetDisplacementScale

Scale value for Displacement. Used to interpret the Displacement value. Only valid if Displacement values are present, and stored as a scalar values (uint16, UnsignedShortArray).

GetDisplacementSupportVectors

Support vectors, if the displacement is stored as scalar values. (Vertex Field)

GetLevel

Contains the subdivision level for each base geometry triangle, stored as uint8 per base geometry triangle (Triangle Field)

GetOpacity

The opacity values. Stored as uint8 values (UnsignedCharArray, TupleSize=1). Stored per sub-triangle (Count depends on number of sub-triangles allocated.).

GetSubTrianglesCount

Returns the total number of tessellated sub-triangles in the geometry.

GetSubTrianglesStartIndex

Contains the start index of sub-triangles for each triangle, stored as a rid per base geometry triangle (Triangle Field)

GetSubVerticesCount

Returns the total number of tessellated sub-vertices in the geometry.

GetSubVerticesStartIndex

Contains the start index of sub-vertices for each triangle, stored as a rid per base geometry triangle (Triangle Field)

IsA

Returns true if AttributeTessellationData is a or is a descendant of the class named as the type parameter. (Inherited from Object)

IsNull

Returns true if the AttributeTessellationData object is invalid. (Inherited from Object)

IsSameObjectAs

Returns true if the AttributeTessellationData object is valid. (Inherited from Object)

NonNull

Returns true if the AttributeTessellationData object is valid. (Inherited from Object)

PrintInfo

Prints the content/info of the AttributeTessellationData object to the log. (Inherited from Object)

RemoveObserver

Removes a previously added observer object. (Inherited from Object)

Static methods details

IsClassA

Returns true if the class is a or is a descendant of the class named as the type parameter. (Inherited from Object)

SafeCast

SafeCast makes sure the input object is of a class that can be cast into spAttributeTessellationData, and if this is the case, returns the object cast into spAttributeTessellationData. (Inherited from Object)