AnimatedTexture

Inherits: Texture2D < Texture < Resource < RefCounted < Object

There is currently no description for this class. Please help us by contributing one!

Properties

int

current_frame

int

frames

1

bool

one_shot

false

bool

pause

false

bool

resource_local_to_scene

false (overrides Resource)

float

speed_scale

1.0

Methods

float

get_frame_duration ( int frame ) const

Texture2D

get_frame_texture ( int frame ) const

void

set_frame_duration ( int frame, float duration )

void

set_frame_texture ( int frame, Texture2D texture )


Constants

MAX_FRAMES = 256

There is currently no description for this constant. Please help us by contributing one!


Property Descriptions

int current_frame

  • void set_current_frame ( int value )

  • int get_current_frame ( )

There is currently no description for this property. Please help us by contributing one!


int frames = 1

  • void set_frames ( int value )

  • int get_frames ( )

There is currently no description for this property. Please help us by contributing one!


bool one_shot = false

  • void set_one_shot ( bool value )

  • bool get_one_shot ( )

There is currently no description for this property. Please help us by contributing one!


bool pause = false

  • void set_pause ( bool value )

  • bool get_pause ( )

There is currently no description for this property. Please help us by contributing one!


float speed_scale = 1.0

  • void set_speed_scale ( float value )

  • float get_speed_scale ( )

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

float get_frame_duration ( int frame ) const

There is currently no description for this method. Please help us by contributing one!


Texture2D get_frame_texture ( int frame ) const

There is currently no description for this method. Please help us by contributing one!


void set_frame_duration ( int frame, float duration )

There is currently no description for this method. Please help us by contributing one!


void set_frame_texture ( int frame, Texture2D texture )

There is currently no description for this method. Please help us by contributing one!