babylon.quarks - v1.0.0
    Preparing search index...

    Interface QuarksNodeJSON

    A node of an effect: a group, an emitter, a mesh or a prefab, with its children.

    interface QuarksNodeJSON {
        animationData?: AnimationJSON[];
        children?: QuarksNodeJSON[];
        geometry?: string;
        isVisible?: false;
        material?: string | string[];
        matrix?: number[];
        name?: string;
        position?: number[];
        ps?: ParticleSystemJSONParameters;
        quaternion?: number[];
        rotation?: number[];
        scale?: number[];
        timeScale?: number;
        type: string;
        uuid: string;
        visible?: boolean;
    }
    Index
    animationData?: AnimationJSON[]

    QuarksPrefab: the timeline's tracks.

    children?: QuarksNodeJSON[]

    Child nodes, in order.

    geometry?: string

    Mesh: the QuarksGeometryJSON uuid.

    isVisible?: false

    Mesh: written only when the mesh is not drawn (isVisible), which leaves its children drawn.

    material?: string | string[]

    Mesh: the material uuid; a three.js mesh may list several, of which the first is used.

    matrix?: number[]

    Local transform, column-major, as Babylon's Matrix.asArray(), as writers before 1.0 and three.js files write it; read in place of position, quaternion and scale. A mirrored node in it loads with the mirror on the axis Babylon's decompose picks.

    name?: string

    The node's name.

    position?: number[]

    The node's local position as [x, y, z], written only when not 0.

    ParticleEmitter: the system.

    quaternion?: number[]

    The node's local rotation as a quaternion [x, y, z, w], written only when it turns.

    rotation?: number[]

    three.js files without matrix or quaternion: Euler angles [x, y, z] in radians.

    scale?: number[]

    The node's local scale as [x, y, z], negative along a mirrored axis, written only when not 1.

    timeScale?: number

    QuarksPrefab: the timeline's speed, written only when not 1.

    type: string

    What the node is; a type the loader does not know loads as an empty node.

    uuid: string

    Unique within the file; other entries refer to it by this.

    visible?: boolean

    Written only when the node is disabled (false); loads it disabled, with everything under it.