bindMaterial
@JvmStatic
Binds to a material property of an entity. See MaterialTarget to choose the property.
Return
The created and bound AnimationBindTarget instance.
Parameters
materialIndex
Index of the material to bind (default 0).
materialTarget
The material property to animate.
@JvmStatic
Binds to a material property by its string name.
Return
The created and bound AnimationBindTarget instance.
Parameters
materialIndex
Index of the material to bind (default 0).
materialPropertyName
The material property name to animate.