Skip to main content

Vector2

Type Alias Vector2 

Source
pub type Vector2 = Vec2;

Aliased Type§

#[repr(C)]
pub struct Vector2 { pub x: f32, pub y: f32, }

Fields§

§x: f32§y: f32

Trait Implementations§

Source§

impl Il2CppValueType for Vector2

Source§

unsafe fn load_field(field: &Field) -> Result<Self>

Read a value out of an IL2CPP field. Read more
Source§

unsafe fn store_field(field: &Field, val: Self) -> Result<()>

Write a value into an IL2CPP field. Read more
Source§

unsafe fn invoke_result(method: &Method, args: &[*mut c_void]) -> Result<Self>

Build Self from the return value of an IL2CPP method call. Read more