pub struct VRMFirstPerson {
pub first_person_bone: Option<Index<Node>>,
pub first_person_bone_offset: Option<FirstPersonBoneOffset>,
pub look_at_horizontal_inner: Option<VRMFirstPersonDegreeMap>,
pub look_at_horizontal_outer: Option<VRMFirstPersonDegreeMap>,
pub look_at_type_name: Option<LookAtTypeName>,
pub look_at_vertical_down: Option<VRMFirstPersonDegreeMap>,
pub look_at_vertical_up: Option<VRMFirstPersonDegreeMap>,
pub mesh_annotations: Option<Vec<VRMFirstPersonMeshAnnotation>>,
}Fields§
§first_person_bone: Option<Index<Node>>The bone whose rendering should be turned off in first-person view. Usually Head is specified.
first_person_bone_offset: Option<FirstPersonBoneOffset>The target position of the VR headset in first-person view. It is assumed that an offset from the head bone to the VR headset is added.
look_at_horizontal_inner: Option<VRMFirstPersonDegreeMap>§look_at_horizontal_outer: Option<VRMFirstPersonDegreeMap>§look_at_type_name: Option<LookAtTypeName>Eye controller mode.
look_at_vertical_down: Option<VRMFirstPersonDegreeMap>§look_at_vertical_up: Option<VRMFirstPersonDegreeMap>§mesh_annotations: Option<Vec<VRMFirstPersonMeshAnnotation>>Switch display / undisplay for each mesh in first-person view or the others.
Trait Implementations§
Source§impl Clone for VRMFirstPerson
impl Clone for VRMFirstPerson
Source§fn clone(&self) -> VRMFirstPerson
fn clone(&self) -> VRMFirstPerson
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 VRMFirstPerson
impl Debug for VRMFirstPerson
Source§impl<'de> Deserialize<'de> for VRMFirstPerson
impl<'de> Deserialize<'de> for VRMFirstPerson
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 VRMFirstPerson
impl RefUnwindSafe for VRMFirstPerson
impl Send for VRMFirstPerson
impl Sync for VRMFirstPerson
impl Unpin for VRMFirstPerson
impl UnsafeUnpin for VRMFirstPerson
impl UnwindSafe for VRMFirstPerson
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