Info

Statistics

  • Download count465 total downloads
  • Latest download count 465 downloads of latest version
  • Average download count5 downloads per day average

Owners

A list of all Actions, Conditions and Expressions supported in this addon.

3DObject

  • Actions

    Set ambient color {0}

    Set ambient color

    Rotate {0} degrees around {1} axis

    Rotate object around a specific axis

    Set z elevation to {0}

    Set z elevation (world z axis, depth component).

    Set local center to {0}, {1}, {2}

    Set local center of object in original obj file coordinate system.

    Set z height to {0}

    Set z height, used for viewport clipping

    Set scale to {0}

    Set scale from original object size.

    Set rotation to {0}, {1}, {2}, {3} order

    Set rotation of object from original position, with rotation order

    Play animation {0}, loop {1}

    Play animation by name.

    Set animation rate to {0}

    Set animation rate (FPS), .

    Pause animation.

    Pause playing animation.

    Unpause animation.

    Unpause playing animation.

    Set animation speed to {0}x

    Set animation speed.

    Set x scale to {0}

    Set x scale.

    Set y scale to {0}

    Set y scale.

    Set z scale to {0}

    Set z scale.

    Update bounding box

    Update bounding box based on current 3D animation.

    Load model {0}

    Load model from path.

    Load material {1} from {0}

    Load material from path.

    Load material {1} from sprite uid {0}

    Load material from sprite.

    Unload material {0} from sprite

    Unload material from sprite.

    Set node {0} to material {1}

    Set node to use a material.

    Delete material {0}

    Delete material (remove from GPU memory.)

    Set node {0} enable to {1}

    Enable or disable node for render.

    Set origin x to {0}

    Set origin x. (Normalized value, 0.5 is center.)

    Set origin y to {0}

    Set origin y. (Normalized value, 0.5 is center.)

    Set bounding box scale to {0}

    Set bounding box scale.

    Set wireframe enable to {0}

    Enable or disable wireframe render.

    Set wireframe line widths to {0}, {1}, {2}

    Set wireframe x, y, z widths.

    Offset node {0} UV by {1}, {2}

    Offset node UV texture coordinates.

    Offset material {0} UV by {1}, {2}

    Offset material UV texture coordinates.

    Rotate material {0} UV by {1} around {2}, {3}

    Rotate material UV texture coordinates around point.

    Load model from prefab uid {0}

    Load model from prefab instance of object.

    Set animation blend time to {0}s

    Set animation blend time.

    Enable lights {0}

    Enable lights

    Update light {0}

    Update light

    Set light direction to {0}, {1}, {2}

    Set light direction.

    Enable light {0} {1}

    Enable light

    Delete light {0}

    Delete light

    Add light {0},{1},{2},{3},{4},{5},{6},{6},{7},{8},{9},{10},{11},{12},{13},{14},{15},{16},{17}

    Add light.

    Set view position to {0}, {1}, {2}

    Set view position for specular lighting.

    Set node {0} target {1} weight to {2}

    Set node morph target weight.

    Delete node {0} target {1} weight

    Delete node morph target weight.

    Set blend mode to {0}

    Set blend mode.)

    Set vertex rounding to {0}

    Set vertex rounding (typically 1,2,3, etc.)

    Set quaternion to {0}, offset {1}, {2}, {3}

    Set quaternion for rotation (JSON array string).

    Enable quaternion {0}

    Enable quaternion for rotation.

  • Conditions

    On loaded

    Triggers when 3DObject has completed loading the 3D model.

    Is loaded

    True if the 3DObject has loaded its 3D model.

    Is animation finished

    True if the animation has finished (only true if not looping).

    On animation finished

    Triggers when the animation has finished (only triggered if not looping).

    On animation {0} finished

    Triggers when the named animation has finished (only triggered if not looping).

    Is wireframe enabled

    True if wireframe is enabled.

    Is animation {0} playing

    Is the named animation playing.

  • Expressions

    AnimationNames

    Get animation names as JSON string.

    ZElevation0

    Get z elevation.-0

    CurrentAnimation

    Get current animation name.

    CurrentAnimationTime

    Get current animation time.

    CurrentAnimationFrame

    Get current animation frame.

    Scale

    Get scale.

    XScale

    Get x scale.

    YScale

    Get y scale.

    ZScale

    Get z scale.

    XAngle

    Get x angle.

    YAngle

    Get y angle.

    ZAngle

    Get z angle.

    XBBMin

    Get x bounding box min.

    YBBMin

    Get y bounding box min.

    ZBBMin

    Get z bounding box min.

    XBBMax

    Get x bounding box max.

    YBBMax

    Get y bounding box max.

    ZBBMax

    Get z bounding box max.

    XWireframeWidth

    X wireframe line width.

    YWireframeWidth

    Y wireframe line width.

    ZWireframeWidth

    Z wireframe line width.

    UOffset

    U offset on node.

    VOffset

    V offset on node.

    MaterialRotateAngle

    Rotation angle of material.

    MaterialRotateX

    Rotation center x of material.

    MaterialRotateY

    Rotation center y of material.

    MaterialUOffset

    U offset on node.

    MaterialVOffset

    V offset on material.

    Materials

    Material list in JSON string format.

    NodePointPosition

    Node point position, as JSON string, {x:,y:,z:}.

    NodeVertexLength

    Length of node's mesh's vertex array.

    AnimationBlendTime

    Animation blend time.

    LightColor

    Light color value.

    LightsData

    Lights data as JSON string.

    AnimationSpeed

    Animation speed.

    TotalTriangles

    Total triangles to be rendered.

    TotalTrianglesCulled

    Total triangles culled.

    NodeBoundingBox

    Node bounding box.