Get Current Model

Get info about the currently loaded model

Variables

The following variables will be populated after executing this sub-action:

Description
model.hasPhysicsFilebool

Flag whether the model has a physics file

Example: True/False
model.idstring

The ID of the model

Example: 62c6a71a4d324204afd25f61445f8e4f
model.live2DModelNamestring

The live 2d model name

Example: hijiki.model3.json
model.loadTimeint

Time in milliseconds it took to load the current model

Example: 1680
model.namestring

The name of the model

Example: hijiki
model.numberOfLive2DArtmeshesint

Number of live 2d art meshes

Example: 136
model.numberOfLive2DParametersint

Number of live 2d parameters

Example: 29
model.numberOfTexturesint

Number of textures

Example: 1
model.posXdouble

X position of the model

Example: -0.132193565368652
model.posYdouble

Y position of the model

Example: -0.162023842334747
model.rotationdouble

Rotation of the model

Example: 9.33
model.sizedouble

Size of the model

Example: 57.6690902709961
model.textureResolutionint

The models' texture resolution

Example: 1024
model.timeSinceLoadedint

Contains the time in milliseconds since the model has been loaded

Example: 419903
model.vtsModelIconNamestring

The vts name of the model icon

Example: icon.jpg
model.vtsModelNamestring

The vts name of the model

Example: hijiki.vtube.json

C# Usage

public VTSModelPosition VTubeStudioGetModelPosition()