The SEDRIS Data Representation Model
APPENDIX A - Classes Texture Coordinate Control Link |
---|
An instance of this DRM class is a specialized <Control Link> instance used to provide the connection between an ordered aggregation of <Expression> instances and the target fields of one or more <Texture Coordinate> instances.
Consider a <Polygon> representing an exterior wall of a building. If an explosion is simulated near this building representation, the data provider may choose to model the state change by changing the <Texture Coordinate> s, t values of the <Polygon>'s <Vertex> components so that the texture applied to the <Polygon> changes from one portion of the referenced <Image>, representing an undamaged wall, to another portion of the same <Image>, showing damage resulting from smoke.
No FAQs supplied.
SE_String | description; | (notes) |
---|
SE_Integer_Unsigned | s_expr_index; | (notes) |
---|---|---|
SE_Integer_Unsigned | t_expr_index; | (notes) |
The description field specifies a text description of the given <Control Link> instance's purpose.
The s_expr_index field specifies which <Expression> component controls the s field value of the affected <Texture Coordinate> instance(s). If this value is zero, the s field values of those instances are not controlled; otherwise, the value is a 1-based index into the ordered aggregation of <Expression> instances.
The t_expr_index field specifies which <Expression> component controls the t field value of the affected <Texture Coordinate> instance(s). If this value is zero, the t field values of those instances are not controlled; otherwise, the value is a 1-based index into the ordered aggregation of <Expression> instances.
|