GLTFBufferView

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 GLTFBufferView within a script will cause an error in an exported project.

Properties

int

buffer

-1

int

byte_length

0

int

byte_offset

0

int

byte_stride

-1

bool

indices

false

Property Descriptions

Default

-1

Setter

set_buffer(value)

Getter

get_buffer()


  • int byte_length

Default

0

Setter

set_byte_length(value)

Getter

get_byte_length()


  • int byte_offset

Default

0

Setter

set_byte_offset(value)

Getter

get_byte_offset()


  • int byte_stride

Default

-1

Setter

set_byte_stride(value)

Getter

get_byte_stride()


Default

false

Setter

set_indices(value)

Getter

get_indices()