Enum oxygengine_visual_novel::script::Action[][src]

pub enum Action {
Show 24 variants None, Log(LogTypeString), Label(String), Wait(Scalar), GoToScene(String), EndScene, ChangeSceneBackground(String), ShowCharacter(String), HideCharacter(String), HideAllCharacters, ChangeCharacterVisibility(StringScalar), ChangeCharacterNameColor(StringColor), ChangeCharacterPosition(StringPosition), ChangeCharacterAlignment(StringPosition), ChangeCharacterRotation(StringScalar), ChangeCharacterScale(StringScale), ChangeCharacterStyle(StringString), ChangeCameraPosition(Position), ChangeCameraRotation(Scalar), GoToLabel(String), GoToChapter(String), Parallel(Vec<Action>), ShowDialogue(Dialogue), HideDialogue,
}

Variants

None

Log(LogTypeString)

Tuple Fields

1: String

Label(String)

Tuple Fields

0: String

Wait(Scalar)

Tuple Fields

0: Scalar

GoToScene(String)

Tuple Fields

0: String

EndScene

ChangeSceneBackground(String)

Tuple Fields

0: String

ShowCharacter(String)

Tuple Fields

0: String

HideCharacter(String)

Tuple Fields

0: String

HideAllCharacters

ChangeCharacterVisibility(StringScalar)

Tuple Fields

0: String
1: Scalar

(character name, visibility percentage)

ChangeCharacterNameColor(StringColor)

Tuple Fields

0: String
1: Color

(character name, color)

ChangeCharacterPosition(StringPosition)

Tuple Fields

0: String

(character name, position percentage)

ChangeCharacterAlignment(StringPosition)

Tuple Fields

0: String

(character name, alignment percentage)

ChangeCharacterRotation(StringScalar)

Tuple Fields

0: String
1: Scalar

(character name, rotation percentage)

ChangeCharacterScale(StringScale)

Tuple Fields

0: String
1: Scale

(character name, scale percentage)

ChangeCharacterStyle(StringString)

Tuple Fields

0: String
1: String

(character name, style name)

ChangeCameraPosition(Position)

Tuple Fields

ChangeCameraRotation(Scalar)

Tuple Fields

0: Scalar

GoToLabel(String)

Tuple Fields

0: String

GoToChapter(String)

Tuple Fields

0: String

Parallel(Vec<Action>)

Tuple Fields

0: Vec<Action>

ShowDialogue(Dialogue)

Tuple Fields

HideDialogue

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.