Skip to content

UVScaleBiasFromAnimationDynamicMaterialDriver

Class Documentation

Edit documentation

A vector driver that returns the UV scale and bias of a UV animation of a submesh of the source's mesh. It finds the submesh mSubMeshName in the mesh of the source and reads its UV animation mUvAnimIndex. The result is kept on the mesh together with the time it was computed for.

When the submesh or the animation is not found, the driver returns (1, 1, 0, 0): a scale of 1 and a bias of 0, which leave texture coordinates unchanged.

Properties

mSubMeshName

String = ""
Edit documentation

The name of the submesh whose UV animation is read.

mUvAnimIndex

U32 = 0
Edit documentation

The index of the UV animation of that submesh.