#[repr(C)]pub struct SdfSkinDesc2 {
pub base_sdf_entity: EntityHandle,
pub num_bone_entities: u32,
pub bone_entities_ptr: u32,
pub num_rest_from_shape: u32,
pub rest_from_shape_ptr: u32,
pub replacement_mesh: MeshHandle,
pub bone_weight_flags: BoneWeightFlags,
pub bone_weight_bias: f32,
pub bone_weight_falloff: f32,
pub reserved0: u32,
}Expand description
WorldData description type used when initializing an SdfSkin WorldData. With an extra field for mesh replacement.
Fields§
§base_sdf_entity: EntityHandle§num_bone_entities: u32§bone_entities_ptr: u32§num_rest_from_shape: u32§rest_from_shape_ptr: u32§replacement_mesh: MeshHandle§bone_weight_flags: BoneWeightFlags§bone_weight_bias: f32§bone_weight_falloff: f32§reserved0: u32Trait Implementations§
Source§impl Clone for SdfSkinDesc2
impl Clone for SdfSkinDesc2
Source§fn clone(&self) -> SdfSkinDesc2
fn clone(&self) -> SdfSkinDesc2
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 moreSource§impl Debug for SdfSkinDesc2
impl Debug for SdfSkinDesc2
impl Copy for SdfSkinDesc2
impl Pod for SdfSkinDesc2
Auto Trait Implementations§
impl Freeze for SdfSkinDesc2
impl RefUnwindSafe for SdfSkinDesc2
impl Send for SdfSkinDesc2
impl Sync for SdfSkinDesc2
impl Unpin for SdfSkinDesc2
impl UnwindSafe for SdfSkinDesc2
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
Source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.