Skip to content
On this page

class AttributeTessellation

Management functions for geometry attribute tessellation

Properties

PropertyDescription
NameThe name of the AttributeTessellation 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)
FilterOpacityOnDisplacementEdgesFilter opacity based on displacement curvature, to separate out islands of different heights. Basically clears opacity values on all triangles where the absolute slope of displacement is above a set threshold. Note that the scene geometries must have both Opacity and Displacement as tessellated attributes.
GetClassGet the name of the AttributeTessellation class. (Inherited from Object)
InjectColorDataIntoSceneSample color data from the supplied material table and texture table, and inject into a named color data tessellated attribute.
InjectDisplacementDataIntoSceneFetch displacement data from the supplied material table and texture table, and inject into the displacement data tessellated attribute. Allowed attribute formats are U16 or F32vec3.
InjectOpacityDataIntoSceneFetch opacity data from the supplied material table and texture table, and inject into the opacity data tessellated attribute. Attribute format will always be U8.
IsAReturns true if AttributeTessellation is a or is a descendant of the class named as the type parameter. (Inherited from Object)
IsNullReturns true if the AttributeTessellation object is invalid. (Inherited from Object)
IsSameObjectAsReturns true if the AttributeTessellation object is valid. (Inherited from Object)
NewTessellatedGeometryGenerates a new tessellated geometry with tessellated attributes applied.
NewTessellatedSceneGenerates a new copy of the scene with tessellated geometries which have tessellated attributes applied.
NonNullReturns true if the AttributeTessellation object is valid. (Inherited from Object)
PrintInfoPrints the content/info of the AttributeTessellation object to the log. (Inherited from Object)
RemoveObserverRemoves a previously added observer object. (Inherited from Object)
SetupAttributeTessellationOnGeometrySets up attribute tessellation setup and primitive tessellation on a single geometry.
SetupAttributeTessellationOnSceneSets up attribute tessellation and primitive tessellation on a scene.

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 spAttributeTessellation, and if this is the case, returns the object cast into spAttributeTessellation. (Inherited from Object)

Properties details

Name

The name of the AttributeTessellation 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)

FilterOpacityOnDisplacementEdges

Filter opacity based on displacement curvature, to separate out islands of different heights. Basically clears opacity values on all triangles where the absolute slope of displacement is above a set threshold. Note that the scene geometries must have both Opacity and Displacement as tessellated attributes.

GetClass

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

InjectColorDataIntoScene

Sample color data from the supplied material table and texture table, and inject into a named color data tessellated attribute.

InjectDisplacementDataIntoScene

Fetch displacement data from the supplied material table and texture table, and inject into the displacement data tessellated attribute. Allowed attribute formats are U16 or F32vec3.

InjectOpacityDataIntoScene

Fetch opacity data from the supplied material table and texture table, and inject into the opacity data tessellated attribute. Attribute format will always be U8.

IsA

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

IsNull

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

IsSameObjectAs

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

NewTessellatedGeometry

Generates a new tessellated geometry with tessellated attributes applied.

NewTessellatedScene

Generates a new copy of the scene with tessellated geometries which have tessellated attributes applied.

NonNull

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

PrintInfo

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

RemoveObserver

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

SetupAttributeTessellationOnGeometry

Sets up attribute tessellation setup and primitive tessellation on a single geometry.

SetupAttributeTessellationOnScene

Sets up attribute tessellation and primitive tessellation on a scene.

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 spAttributeTessellation, and if this is the case, returns the object cast into spAttributeTessellation. (Inherited from Object)