TiltEffectBehavior
struct · ferroui-xaml-interactions-custom · v0.5.0
struct TiltEffectBehavior
A behavior that applies a 3D tilt rotation to the element based on the pointer position.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<TiltEffectBehavior>
Returns a strong reference to this object.
tilt_strength_property
fn tilt_strength_property() -> &'static StyledProperty<f64>
Identifies the TiltStrength property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates a behavior.
tilt_strength
fn tilt_strength(self: &Self) -> f64
Gets or sets the maximum tilt angle in degrees.
set_tilt_strength
fn set_tilt_strength(self: &Self, value: f64)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtClassDefaultsErasedDestructorIntoEitherBehaviorImplExtDerefUpcast<T>Upcast<TiltEffectBehavior>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplBehaviorImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.