Anvil
Anvil.API.VisualTransform Class Reference

Public Member Functions

void Clear ()
 Immediately unsets any transforms. More...
 
void Copy (VisualTransform other)
 Updates the transform data of this visual transform by copying another. More...
 
void Lerp (VisualTransformLerpSettings settings, Action< VisualTransform > transforms)
 Lerps the specified transform changes using the specified settings. More...
 

Properties

float AnimSpeed [get, set]
 
Vector3 Rotation [get, set]
 
float Scale [get, set]
 
Vector3 Translation [get, set]
 

Member Function Documentation

◆ Clear()

void Anvil.API.VisualTransform.Clear ( )
inline

Immediately unsets any transforms.

◆ Copy()

void Anvil.API.VisualTransform.Copy ( VisualTransform  other)
inline

Updates the transform data of this visual transform by copying another.

Parameters
otherThe visual transform to copy.

◆ Lerp()

void Anvil.API.VisualTransform.Lerp ( VisualTransformLerpSettings  settings,
Action< VisualTransform transforms 
)
inline

Lerps the specified transform changes using the specified settings.

Parameters
settingsThe lerp settings to use when changing this visual transform.
transformsAn action containing the transform changes to be lerped.

The documentation for this class was generated from the following file: