[][src]Struct oxygengine_visual_novel::character::Character

pub struct Character {
    pub styles: HashMap<String, String>,
    // some fields omitted
}

Fields

styles: HashMap<String, String>

{style name: image name}

Implementations

impl Character[src]

pub fn new(name: &str) -> Self[src]

pub fn initialize(&mut self)[src]

pub fn is_dirty(&self) -> bool[src]

pub fn rebuild(&mut self)[src]

pub fn name(&self) -> &str[src]

pub fn set_name(&mut self, value: String)[src]

pub fn styles(&self) -> impl Iterator<Item = (&str, &str)>[src]

(style name, image name)

pub fn style(&self) -> (&str, Scalar, &str)[src]

(from style, phase, to style)

pub fn style_transition(&self) -> &CharacterStyle[src]

pub fn style_transition_mut(&mut self) -> &mut CharacterStyle[src]

pub fn set_style(&mut self, value: String)[src]

pub fn visibility(&self) -> Scalar[src]

pub fn visibility_anim(&self) -> &Interpolation<Scalar>[src]

pub fn visibility_anim_mut(&mut self) -> &mut Interpolation<Scalar>[src]

pub fn set_visibility(&mut self, value: Scalar)[src]

pub fn hide(&mut self)[src]

pub fn show(&mut self)[src]

pub fn name_color(&self) -> Color[src]

pub fn name_color_anim(&self) -> &Interpolation<Color>[src]

pub fn name_color_anim_mut(&mut self) -> &mut Interpolation<Color>[src]

pub fn set_name_color(&mut self, value: Color)[src]

pub fn position(&self) -> Position[src]

pub fn position_anim(&self) -> &Interpolation<Position>[src]

pub fn position_anim_mut(&mut self) -> &mut Interpolation<Position>[src]

pub fn set_position(&mut self, value: Position)[src]

pub fn alignment(&self) -> Position[src]

pub fn alignment_anim(&self) -> &Interpolation<Position>[src]

pub fn alignment_anim_mut(&mut self) -> &mut Interpolation<Position>[src]

pub fn set_alignment(&mut self, value: Position)[src]

pub fn rotation(&self) -> Scalar[src]

pub fn rotation_anim(&self) -> &Interpolation<Scalar>[src]

pub fn rotation_anim_mut(&mut self) -> &mut Interpolation<Scalar>[src]

pub fn set_rotation(&mut self, value: Scalar)[src]

pub fn scale(&self) -> Scale[src]

pub fn scale_anim(&self) -> &Interpolation<Scale>[src]

pub fn scale_anim_mut(&mut self) -> &mut Interpolation<Scale>[src]

pub fn set_scale(&mut self, value: Scale)[src]

pub fn process(&mut self, delta_time: Scalar)[src]

Trait Implementations

impl Clone for Character[src]

impl Debug for Character[src]

impl Default for Character[src]

impl<'de> Deserialize<'de> for Character[src]

impl Prefab for Character[src]

impl Serialize for Character[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> Event for T where
    T: Send + Sync + 'static, 

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Resource for T where
    T: Any, 

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> TryDefault for T where
    T: Default

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,