3d model

Property

Function

Type

Model

Sets model file Actions editor: Property > 3d > Model Code: widget.content.modelFilename

string

Diffuse

Sets diffuse texture image Actions editor: Property > 3d > Diffuse Code: widget.content.textureDiffuseFilename

string

Normal

Sets normal map texture image Actions editor: Property > 3d > Normal Code: widget.content.textureNormalFilename

string

Specular

Sets specular texture image Actions editor: Property > 3d > Specular Code: widget.content.textureSpecularFilename

string

Light intensity

Sets light intensity Actions editor: Property > 3d > Light intensity Code: widget.content.brightness

double

Ambient

Sets ambient color Actions editor: Property > 3d > Ambient Code: widget.content.ambientColor

string

X rotation

Sets camera x rotation Actions editor: Property > 3d > X rotation Code: widget.content.xRotation

double

Y rotation

Sets camera y rotation Actions editor: Property > 3d > Y rotation Code: widget.content.yRotation

double

Z rotation

Sets camera z rotation Actions editor: Property > 3d > Z rotation Code: widget.content.zRotation

double

Lock x rotate

Enable to lock x rotation while dragging Actions editor: Property > 3d > Lock x rotate Code: widget.content.xLockRotate

bool

Lock y rotate

Enable to lock y rotation while dragging Actions editor: Property > 3d > Lock y rotate Code: widget.content.yLockRotate

bool

Lock z rotate

Enable to lock z rotation while dragging Actions editor: Property > 3d > Lock z rotate Code: widget.content.zLockRotate

bool

X position

Sets camera x position Actions editor: Property > 3d > X position Code: widget.content.xPosition

double

Y position

Sets camera y position Actions editor: Property > 3d > Y position Code: widget.content.yPosition

double

Z position

Sets camera z position Actions editor: Property > 3d > Z position Code: widget.content.zPosition

double

Lock x position

Enable to lock x position while dragging Actions editor: Property > 3d > Lock x position Code: widget.content.xLockMove

bool

Lock y position

Enable to lock y position while dragging Actions editor: Property > 3d > Lock y position Code: widget.content.yLockMove

bool

Lock z position

Enable to lock z position while dragging Actions editor: Property > 3d > Lock z position Code: widget.content.zLockMove

bool

X center

Sets view center x of the camera Actions editor: Property > 3d > X center Code: widget.content.xCenter

double

Y center

Sets view center y of the camera Actions editor: Property > 3d > Y center Code: widget.content.yCenter

double

Z center

Sets view center z of the camera Actions editor: Property > 3d > Z center Code: widget.content.zCenter

double

Fov

Sets field of view of the camera in degrees Actions editor: Property > 3d > Fov Code: widget.content.fieldOfView

int

Auto rotation

Sets camera auto rotation speed Actions editor: Property > 3d > Auto rotation Code: widget.content.autoRotationSpeed

int

X auto rotation

Enable x rotation for auto rotate Actions editor: Property > 3d > X auto rotation Code: widget.content.xAutoRotation

bool

Y auto rotation

Enable y rotation for auto rotate Actions editor: Property > 3d > Y auto rotation Code: widget.content.yAutoRotation

bool

Z auto rotation

Enable z rotation for auto rotate Actions editor: Property > 3d > Z auto rotation Code: widget.content.zAutoRotation

bool

Back face

Enable back-face culling Actions editor: Property > 3d > Back face Code: widget.content.cullBack

bool

Blending

Enable texture blending Actions editor: Property > 3d > Blending Code: widget.content.blending

bool

Actions

Property

Function

Set X rotation

Actions editor: Actions > Animation > Set X rotation Code: widget.content.script.actionSetXRotation(double newXAngle) widget.content.script.actionSetXRotationWithAnimation(double newXAngle, int animationType, int animationDuration)

Set Y rotation

Actions editor: Actions > Animation > Set Y rotation Code: widget.content.script.actionSetYRotation(double newYAngle) widget.content.script.actionSetYRotationWithAnimation(double newYAngle, int animationType, int animationDuration)

Set Z rotation

Actions editor: Actions > Animation > Set Z rotation Code: widget.content.script.actionSetZRotation(double newZAngle) widget.content.script.actionSetZRotationWithAnimation(double newZAngle, int animationType, int animationDuration)

Set X position

Actions editor: Actions > Animation > Set X position Code: widget.content.script.actionSetXPosition(double newXPos) widget.content.script.actionSetXPositionWithAnimation(double newXPos, int animationType, int animationDuration)

Set Y position

Actions editor: Actions > Animation > Set Y position Code: widget.content.script.actionSetYPosition(double newYPos) widget.content.script.actionSetYPositionWithAnimation(double newYPos, int animationType, int animationDuration)

Set Z position

Actions editor: Actions > Animation > Set Z position Code: widget.content.script.actionSetZPosition(double newZPos) widget.content.script.actionSetZPositionWithAnimation(double newZPos, int animationType, int animationDuration)

Last updated