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> instance P 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> instance's s, t values of P's <Vertex> components so that the texture applied to P changes from one portion of the referenced <Image> instance, representing an undamaged wall, to another portion of the same <Image> instance, 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 purpose of the <Control Link> instance.
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 one-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 one-based index into the ordered aggregation of <Expression> instances.
|