GLTFNode

Inherits: Resource < Reference < Object

Description

Note: This class is only compiled in editor builds. Run-time glTF loading and saving is not available in exported projects. References to GLTFNode within a script will cause an error in an exported project.

Properties

int

camera

-1

PoolIntArray

children

PoolIntArray(  )

int

height

-1

bool

joint

false

int

light

-1

int

mesh

-1

int

parent

-1

Quat

rotation

Quat( 0, 0, 0, 1 )

Vector3

scale

Vector3( 1, 1, 1 )

int

skeleton

-1

int

skin

-1

Vector3

translation

Vector3( 0, 0, 0 )

Transform

xform

Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )

Property Descriptions

Default

-1

Setter

set_camera(value)

Getter

get_camera()


Default

PoolIntArray(  )

Setter

set_children(value)

Getter

get_children()


Default

-1

Setter

set_height(value)

Getter

get_height()


Default

false

Setter

set_joint(value)

Getter

get_joint()


Default

-1

Setter

set_light(value)

Getter

get_light()


Default

-1

Setter

set_mesh(value)

Getter

get_mesh()


Default

-1

Setter

set_parent(value)

Getter

get_parent()


Default

Quat( 0, 0, 0, 1 )

Setter

set_rotation(value)

Getter

get_rotation()


Default

Vector3( 1, 1, 1 )

Setter

set_scale(value)

Getter

get_scale()


Default

-1

Setter

set_skeleton(value)

Getter

get_skeleton()


Default

-1

Setter

set_skin(value)

Getter

get_skin()


Default

Vector3( 0, 0, 0 )

Setter

set_translation(value)

Getter

get_translation()


Default

Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )

Setter

set_xform(value)

Getter

get_xform()