Files
gymkhana-actions/docs/api/transition.gd.md
Julian Murgia b4bf5b82d6 Event flags implementation (#382)
* Added event flags
* Added transition ESC command
* Also edited .gitignore to ignore .translation files
* docs: Automatic update of API docs

Co-authored-by: StraToN <StraToN@users.noreply.github.com>
2021-09-07 09:13:09 +02:00

1.1 KiB

transition.gd

Extends: ColorRect

Description

A transition player for scene changes

Property Descriptions

transition_name

export var transition_name: String = ""

Method Descriptions

transition_out

func transition_out(p_transition_name: String = "") -> var

Transition out

Parameters

  • p_transition_name: name of the transition to play (if empty string, uses the default transition)

transition_in

func transition_in(p_transition_name: String = "") -> var

Transition in

Parameters

  • p_transition_name: name of the transition to play (if empty string, uses the default transition)

has_transition

func has_transition(p_name: String) -> bool

Returns true whether the transition scene has a transition corresponding to name provided.

Parameters

  • p_name: The name of the transition to test

Returns true if a transition exists with given name.

Signals

  • signal transition_done(): Emitted when the transition was played