stf.instance.mesh

[ Schema | Category: Instance ]

Represents an instance of a mesh.

Implementations

Blender

bpy.types.Object with bpy.types.Mesh

Godot

MeshInstance3D

Unity

MeshRenderer / SkinnedMeshRenderer

Three.js

Mesh / SkinnedMesh

Properties

type

required Constant: "stf.instance.mesh"

mesh

required Type: Resource-Ref

The resource must represent a mesh.

armature_instance

optional Type: Resource-Ref

The resource must represent an armature instance.

blendshape_values

optional Type: array<"number" | "null">

The values for each blendshape. If a value is supposed to remain default, it will be null.

materials

optional Type: array<Resource-Ref | null>

Resource references. The material for each material slot, or null if the meshes default material should not be overridden.

Json Example:

{
    "type": "stf.instance.mesh",
    "name": "",
    "referenced_resources": [
        "8dedc60f-91cd-4e5e-a032-07dc82358519",
        "e6ae2ed1-fc53-43ee-ac53-05bf296d5fc1",
        "92133d53-1868-4666-943f-427e44b0e432"
    ],
    "mesh": 0,
    "armature_instance": 1,
    "materials": [
        null,
        3
    ],
    "blendshape_values": [
        null,
        null,
        0.0,
        0.2,
        1.0,
        0.375,
        null,
        null,
        null
    ]
}