#[repr(C)]pub struct Vec3 {
pub x: f32,
pub y: f32,
pub z: f32,
}Expand description
Fields§
§x: f32§y: f32§z: f32Implementations§
Source§impl Vec3
impl Vec3
Sourcepub fn sub() -> (Vec3, Vec3, Vec3)
pub fn sub() -> (Vec3, Vec3, Vec3)
Sub(*mutcrate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::vec3::Vec3, *mutcrate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::vec3::Vec3, *mutcrate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::vec3::Vec3) overload
Sourcepub fn neg() -> Vec3
pub fn neg() -> Vec3
Neg(*mutcrate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::vec3::Vec3) overload
Sourcepub fn dot() -> (Vec3, Vec3, f32)
pub fn dot() -> (Vec3, Vec3, f32)
Dot(*mutcrate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::vec3::Vec3, *mutcrate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::vec3::Vec3, *mutf32) overload
Sourcepub fn normalize() -> Vec3
pub fn normalize() -> Vec3
Normalize(*mutcrate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::vec3::Vec3) overload
Source§impl Vec3
impl Vec3
pub fn get_item_method_info() -> &'static MethodInfo
pub fn set_item_method_info() -> &'static MethodInfo
pub fn sub_method_info() -> &'static MethodInfo
pub fn neg_method_info() -> &'static MethodInfo
pub fn dot_method_info() -> &'static MethodInfo
pub fn normalize_method_info() -> &'static MethodInfo
pub fn long_axis_method_info() -> &'static MethodInfo
pub fn to_string_method_info() -> &'static MethodInfo
pub fn cctor_method_info() -> &'static MethodInfo
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Vec3
impl RefUnwindSafe for Vec3
impl Send for Vec3
impl Sync for Vec3
impl Unpin for Vec3
impl UnwindSafe for Vec3
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)