Move Model
Mode the currently loaded model
Preview
Parameters
Time in Secondsrequired
Float
Time in seconds the movement should take (has to be between 0 and 2)
Relative to Modelrequired
Bool
Flag whether the values are relative to the model's current position
Position X
Float
X Position of the model (between -1 and 1, see image)
Position Y
Float
Y Position of the model (between -1 and 1, see image)
Rotation
Float
Rotation of the model (between -360 and 360, see image)
Size
Float
Size of the model (between -100 and 100)
Variables
The following variables will be populated after executing this sub-action:
Description | ||
---|---|---|
success | bool | indicator whether the movement has been successful or not Example: True/False |
C# Usage
public bool VTubeStudioMoveModel(double seconds, bool relative, Double? posX, Double? posY, Double? rotation, Double? size)