pub struct SitData {
pub sit_name: String,
pub orientation: Vec3,
pub legacy_orientation_ll: Vec3,
pub position: Vec3,
pub legacy_position_ll: Vec3,
}Expand description
Information about how the object can be sat on.
Fields§
§sit_name: StringCustom name that is displayed when the user right-clicks to sit. Could be things like “sit”, “pose”, “lounge” etc
orientation: Vec3How to rotate the avatar that sits down
legacy_orientation_ll: Vec3Undocumented. Maybe legacy rotation vector
position: Vec3XYZ position the avatar should be placed when sitting.
legacy_position_ll: Vec3Undocumented. Maybe legacy position vector.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SitData
impl<'de> Deserialize<'de> for SitData
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SitData
impl RefUnwindSafe for SitData
impl Send for SitData
impl Sync for SitData
impl Unpin for SitData
impl UnwindSafe for SitData
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