Table 6.268 — DRM_Texture_Coordinate_Control_Link

Property

Description

Class

  • <DRM Texture Coordinate Control Link>

Superclass

Subclass

  • None.

Definition

The specialized <DRM Control Link> used to provide the connection between an ordered aggregation of <DRM Expressions> and the target fields of a <DRM Texture Coordinate>.

The s_expr_index field is 1-based index into the ordered aggregation of <DRM Expressions>, and is used to select the specific <DRM Expression> that controls the value of <DRM Texture Coordinate>'s s field.

The t_expr_index field is 1-based index into the ordered aggregation of <DRM Expressions>, and is used to select the specific <DRM Expression> that controls the value of <DRM Texture Coordinate>'s t field.

Class diagram

Figure 6.322 — DRM_Texture_Coordinate_Control_Link

Inherited field elements

Field name

Range

Field data type

description1

 

String

Field elements

Field name

Range

Field data type

s_expr_index2

 

Integer_Unsigned

t_expr_index3

 

Integer_Unsigned

Associated to (one-way) (inherited)

  • None.

Associated to (one-way)

  • None.

Associated by (one-way) (inherited)

  • None.

Associated by (one-way)

  • None.

Associated with (two-way) (inherited)

  • None.

Associated with (two-way)

  • None.

Composed of (two-way) (inherited)

Composed of (two-way metadata) (inherited)

  • None.

Composed of (two-way metadata)

  • None.

Component of (two-way) (inherited)

  • None.

Component of (two-way)

Constraints

Clarifications

1 This is a text description of the given <DRM Control Link> instance's purpose.

2 This specifies which <DRM Expression> component controls the s field value of the affected <DRM Texture Coordinate> instance(s). If this value is zero, the s field values of those instances are not controlled.

3 This specifies which <DRM Expression> component controls the t field value of the affected <DRM Texture Coordinate> instance(s). If this value is zero, the t field values of those instances are not controlled.

Example(s)

  • Consider a <DRM 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 <DRM Texture Coordinate> s, t values of the <DRM Polygon>'s <DRM Vertex> components so that the texture applied to the <DRM Polygon> changes from one portion of the referenced <DRM Image>, representing an undamaged wall, to another portion of the same <DRM Image>, showing damage resulting from smoke.