[−][src]Struct fbxcel_dom::v7400::object::texture::TextureProperties
Proxy type to texture properties.
Implementations
impl<'a> TextureProperties<'a>
[src]
pub fn alpha(&self) -> Result<Option<f64>, Error>
[src]
Returns default alpha value.
pub fn alpha_or_default(&self) -> Result<f64, Error>
[src]
Returns default alpha value.
Returns default if the value is not set.
pub fn wrap_mode_u(&self) -> Result<Option<WrapMode>, Error>
[src]
Returns wrap mode U.
pub fn wrap_mode_u_or_default(&self) -> Result<WrapMode, Error>
[src]
Returns wrap mode U.
Returns default if the value is not set.
pub fn wrap_mode_v(&self) -> Result<Option<WrapMode>, Error>
[src]
Returns wrap mode V.
pub fn wrap_mode_v_or_default(&self) -> Result<WrapMode, Error>
[src]
Returns wrap mode V.
Returns default if the value is not set.
pub fn uv_swap(&self) -> Result<Option<bool>, Error>
[src]
Returns whether the UV should be swapped or not.
Returns Some(true)
if UV should be swapped.
pub fn uv_swap_or_default(&self) -> Result<bool, Error>
[src]
Returns whether the UV should be swapped or not.
Returns true
if UV should be swapped.
Returns default if the value is not set.
pub fn premultiply_alpha(&self) -> Result<Option<bool>, Error>
[src]
Returns premultiply-alpha flag.
Returns Some(true)
if the alpha is premultiplied.
pub fn premultiply_alpha_or_default(&self) -> Result<bool, Error>
[src]
Returns premultiply-alpha flag.
Returns true
if the alpha is premultiplied.
Returns default if the value is not set.
pub fn translation(&self) -> Result<Option<Vector3<f64>>, Error>
[src]
Returns default translation vector.
pub fn translation_or_default(&self) -> Result<Vector3<f64>, Error>
[src]
Returns default translation vector.
Returns default if the value is not set.
pub fn rotation(&self) -> Result<Option<[f64; 3]>, Error>
[src]
Returns default rotation vector.
pub fn rotation_or_default(&self) -> Result<[f64; 3], Error>
[src]
Returns default rotation vector.
Returns default if the value is not set.
pub fn scaling(&self) -> Result<Option<Vector3<f64>>, Error>
[src]
Returns default scaling vector.
pub fn scaling_or_default(&self) -> Result<Vector3<f64>, Error>
[src]
Returns default scaling vector.
Returns default if the value is not set.
pub fn rotation_pivot(&self) -> Result<Option<Point3<f64>>, Error>
[src]
Returns rotation pivot vector.
pub fn rotation_pivot_or_default(&self) -> Result<Point3<f64>, Error>
[src]
Returns rotation pivot vector.
Returns default if the value is not set.
pub fn scaling_pivot(&self) -> Result<Option<Point3<f64>>, Error>
[src]
Returns rotation pivot vector.
pub fn scaling_pivot_or_default(&self) -> Result<Point3<f64>, Error>
[src]
Returns scaling pivot vector.
Returns default if the value is not set.
pub fn blend_mode(&self) -> Result<Option<BlendMode>, Error>
[src]
Returns texture blend mode.
pub fn blend_mode_or_default(&self) -> Result<BlendMode, Error>
[src]
Returns texture blend mode.
Returns default if the value is not set.
pub fn uv_set(&self) -> Result<Option<&'a str>, Error>
[src]
Returns UV set name.
pub fn uv_set_or_default(&self) -> Result<&'a str, Error>
[src]
Returns UV set name.
Returns default if the value is not set.
Methods from Deref<Target = ObjectProperties<'a>>
pub fn get_property(&self, name: &str) -> Option<PropertyHandle<'a>>
[src]
Returns property handle if found.
Trait Implementations
impl<'a> Clone for TextureProperties<'a>
[src]
pub fn clone(&self) -> TextureProperties<'a>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Copy for TextureProperties<'a>
[src]
impl<'a> Debug for TextureProperties<'a>
[src]
impl<'a> Deref for TextureProperties<'a>
[src]
type Target = ObjectProperties<'a>
The resulting type after dereferencing.
pub fn deref(&self) -> &Self::Target
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for TextureProperties<'a>
[src]
impl<'a> Send for TextureProperties<'a>
[src]
impl<'a> Sync for TextureProperties<'a>
[src]
impl<'a> Unpin for TextureProperties<'a>
[src]
impl<'a> UnwindSafe for TextureProperties<'a>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,