[][src]Struct ogmo3::project::DecalLayerTemplate

pub struct DecalLayerTemplate {
    pub name: String,
    pub grid_size: Vec2<i32>,
    pub export_id: String,
    pub folder: PathBuf,
    pub include_image_sequence: bool,
    pub scaleable: bool,
    pub rotatable: bool,
    pub values: Vec<ValueTemplate>,
}

A decal layer template.

Fields

name: String

The name of the layer.

grid_size: Vec2<i32>

The size of each cell in the layer's grid.

export_id: String

The unique export ID of the layer.

folder: PathBuf

The path to search for decal images, relative to the project

include_image_sequence: bool

Whether image sequences are included as available decals.

scaleable: bool

Whether this layer's decals are scalable.

rotatable: bool

Whether this layer's decals are rotatable.

values: Vec<ValueTemplate>

Value templates associated with this decal layer.

Trait Implementations

impl Clone for DecalLayerTemplate[src]

impl Debug for DecalLayerTemplate[src]

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

impl Serialize for DecalLayerTemplate[src]

Auto Trait Implementations

Blanket Implementations

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

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> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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.