Enum three::animation::LoopMode [] [src]

pub enum LoopMode {
    Once,
    Repeat {
        limit: Option<u32>,
    },
    PingPong {
        limit: Option<u32>,
    },
}

Describes the looping behaviour of an Action.

Variants

Play the clip in forward order exactly once, i.e. do not loop at all.

Play the clip in forward order, repeating from the start.

Fields of Repeat

The maximum number of repetitions.

When set to None, the loop will repeat indefinately.

Play the clip alternatively in forward and reverse order.

Fields of PingPong

The maximum number of repetitions.

When set to None, the loop will repeat indefinately.

Trait Implementations

impl Clone for LoopMode
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for LoopMode
[src]

impl Debug for LoopMode
[src]

[src]

Formats the value using the given formatter.

impl Eq for LoopMode
[src]

impl Hash for LoopMode
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for LoopMode
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.