#[repr(C)]pub struct UIVertex {
pub position: Vector3,
pub normal: Vector3,
pub tangent: Vector4,
pub color: Color32,
pub uv0: Vector4,
pub uv1: Vector4,
pub uv2: Vector4,
pub uv3: Vector4,
}Expand description
Fields§
§position: Vector3§normal: Vector3§tangent: Vector4§color: Color32§uv0: Vector4§uv1: Vector4§uv2: Vector4§uv3: Vector4Implementations§
Source§impl UIVertex
impl UIVertex
pub fn s_default_color() -> Color32
pub fn set_s_default_color(value: Color32)
pub fn s_default_tangent() -> Vector4
pub fn set_s_default_tangent(value: Vector4)
pub fn simple_vert() -> UIVertex
pub fn set_simple_vert(value: UIVertex)
Source§impl UIVertex
impl UIVertex
pub fn cctor_method_info() -> &'static MethodInfo
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UIVertex
impl RefUnwindSafe for UIVertex
impl Send for UIVertex
impl Sync for UIVertex
impl Unpin for UIVertex
impl UnwindSafe for UIVertex
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)