Table of Contents

Class GLTFAnimation

Inheritance
GLTFAnimation

See Also

Properties

loop

var loop : bool = false

Property Value

bool

Remarks

  • void set_loop(bool value)
  • bool get_loop

original_name

The original name of the animation.

var original_name : String = ""

Property Value

String

Remarks

  • void set_original_name(String value)
  • String get_original_name

Methods

get_additional_data(StringName)

Gets additional arbitrary data in this GLTFAnimation instance. This can be used to keep per-node state data in GLTFDocumentExtension classes, which is important because they are stateless.

The argument should be the GLTFDocumentExtension name (does not have to match the extension name in the glTF file), and the return value can be anything you set. If nothing was set, the return value is null.

Variant get_additional_data(StringName extension_name)

Parameters

extension_name StringName

set_additional_data(StringName, Variant)

Sets additional arbitrary data in this GLTFAnimation instance. This can be used to keep per-node state data in GLTFDocumentExtension classes, which is important because they are stateless.

The first argument should be the GLTFDocumentExtension name (does not have to match the extension name in the glTF file), and the second argument can be anything you want.

void set_additional_data(StringName extension_name, Variant additional_data)

Parameters

extension_name StringName
additional_data Variant