Table 6.272 — DRM_Texture_Coordinate_Control_Link

Property

Description

Class

  • <DRM Texture Coordinate Control Link>

Superclass

Subclass

  • None.

Definition

An instance of this DRM class is a specialized <DRM Control Link> instance used to provide the connection between an ordered aggregation of <DRM Expression> instances and the target fields of one or more <DRM Texture Coordinate> instances.

The s_expression_index 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; otherwise, the value is a 1-based index into the ordered aggregation of <DRM Expression> instances.

The t_expression_index 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; otherwise, the value is a 1-based index into the ordered aggregation of <DRM Expression> instances.

Clarifications

None.

Class diagram

Figure 6.326 — DRM_Texture_Coordinate_Control_Link

Inherited field elements

Field name

Range

Field data type

description

 

String

Field elements

Field name

Range

Field data type

s_expression_index

 

Integer_Unsigned

t_expression_index

 

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)

  • None.

Composed of (two-way metadata) (inherited)

  • None.

Composed of (two-way metadata)

  • None.

Component of (two-way) (inherited)

  • None.

Component of (two-way)

Constraints

Example(s)

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