pub enum ParamValue {
ScalarF32(f32),
ScalarI32(i32),
ScalarU32(u32),
ScalarBool(bool),
Vec2F32((f32, f32)),
Vec3F32((f32, f32, f32)),
Vec4F32((f32, f32, f32, f32)),
Mat4F32(Vec<f32>),
}Expand description
§========================================================================== Parameter Values (Runtime representation)
Parameter value for runtime use Used in action contexts, control signals, and parameter updates
Variants§
ScalarF32(f32)
ScalarI32(i32)
ScalarU32(u32)
ScalarBool(bool)
Vec2F32((f32, f32))
Vec3F32((f32, f32, f32))
Vec4F32((f32, f32, f32, f32))
Mat4F32(Vec<f32>)
4x4 matrix for 3D transformations (camera, object transforms) 16 elements in row-major order [ENGINE-NOT-IMPL] Reserved for future 3D control support
Trait Implementations§
Source§impl Clone for ParamValue
impl Clone for ParamValue
Source§fn clone(&self) -> ParamValue
fn clone(&self) -> ParamValue
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ParamValue
impl RefUnwindSafe for ParamValue
impl Send for ParamValue
impl Sync for ParamValue
impl Unpin for ParamValue
impl UnwindSafe for ParamValue
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more