class
AttributeTessellation
Management functions for geometry attribute tessellation
Properties
Property | Description |
---|---|
Name | The name of the AttributeTessellation object. (Inherited from Object) |
Methods
Method | Description |
---|---|
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) |
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
Method | Description |
---|---|
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) |
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)
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)