Class Vec3
public class Vec3
- Inheritance
-
Vec3
- Inherited Members
Methods
Alloc()
Calls native constructor graphene_vec3_alloc. Version: 1.0
[Version("1.0")]
public static extern Vec3OwnedHandle Alloc()
Returns
- Vec3OwnedHandle
Transfer ownership: Full Nullable: False
Dot(Vec3Handle, Vec3Handle)
Calls native method graphene_vec3_dot. Version: 1.0
[Version("1.0")]
public static extern float Dot(Vec3Handle a, Vec3Handle b)
Parameters
a
Vec3HandleTransfer ownership: None Nullable: False
b
Vec3HandleTransfer ownership: None Nullable: False
Returns
- float
Transfer ownership: None Nullable: False
Equal(Vec3Handle, Vec3Handle)
Calls native method graphene_vec3_equal. Version: 1.2
[Version("1.2")]
public static extern bool Equal(Vec3Handle v1, Vec3Handle v2)
Parameters
v1
Vec3HandleTransfer ownership: None Nullable: False
v2
Vec3HandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
Free(Vec3Handle)
Calls native method graphene_vec3_free. Version: 1.0
[Version("1.0")]
public static extern void Free(Vec3Handle v)
Parameters
v
Vec3HandleTransfer ownership: None Nullable: False
GetGType()
Calls native function graphene_vec3_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetX(Vec3Handle)
Calls native method graphene_vec3_get_x. Version: 1.0
[Version("1.0")]
public static extern float GetX(Vec3Handle v)
Parameters
v
Vec3HandleTransfer ownership: None Nullable: False
Returns
- float
Transfer ownership: None Nullable: False
GetY(Vec3Handle)
Calls native method graphene_vec3_get_y. Version: 1.0
[Version("1.0")]
public static extern float GetY(Vec3Handle v)
Parameters
v
Vec3HandleTransfer ownership: None Nullable: False
Returns
- float
Transfer ownership: None Nullable: False
GetZ(Vec3Handle)
Calls native method graphene_vec3_get_z. Version: 1.0
[Version("1.0")]
public static extern float GetZ(Vec3Handle v)
Parameters
v
Vec3HandleTransfer ownership: None Nullable: False
Returns
- float
Transfer ownership: None Nullable: False
Init(Vec3Handle, float, float, float)
Calls native method graphene_vec3_init. Version: 1.0
[Version("1.0")]
public static extern Vec3UnownedHandle Init(Vec3Handle v, float x, float y, float z)
Parameters
v
Vec3HandleTransfer ownership: None Nullable: False
x
floatTransfer ownership: None Nullable: False
y
floatTransfer ownership: None Nullable: False
z
floatTransfer ownership: None Nullable: False
Returns
- Vec3UnownedHandle
Transfer ownership: None Nullable: False
InitFromFloat(Vec3Handle, ref float)
Calls native method graphene_vec3_init_from_float. Version: 1.0
[Version("1.0")]
public static extern Vec3UnownedHandle InitFromFloat(Vec3Handle v, ref float src)
Parameters
v
Vec3HandleTransfer ownership: None Nullable: False
src
floatTransfer ownership: None Nullable: False
Returns
- Vec3UnownedHandle
Transfer ownership: None Nullable: False
InitFromVec3(Vec3Handle, Vec3Handle)
Calls native method graphene_vec3_init_from_vec3. Version: 1.0
[Version("1.0")]
public static extern Vec3UnownedHandle InitFromVec3(Vec3Handle v, Vec3Handle src)
Parameters
v
Vec3HandleTransfer ownership: None Nullable: False
src
Vec3HandleTransfer ownership: None Nullable: False
Returns
- Vec3UnownedHandle
Transfer ownership: None Nullable: False
Length(Vec3Handle)
Calls native method graphene_vec3_length. Version: 1.0
[Version("1.0")]
public static extern float Length(Vec3Handle v)
Parameters
v
Vec3HandleTransfer ownership: None Nullable: False
Returns
- float
Transfer ownership: None Nullable: False
Near(Vec3Handle, Vec3Handle, float)
Calls native method graphene_vec3_near. Version: 1.2
[Version("1.2")]
public static extern bool Near(Vec3Handle v1, Vec3Handle v2, float epsilon)
Parameters
v1
Vec3HandleTransfer ownership: None Nullable: False
v2
Vec3HandleTransfer ownership: None Nullable: False
epsilon
floatTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
One()
Calls native function graphene_vec3_one. Version: 1.0
[Version("1.0")]
public static extern Vec3UnownedHandle One()
Returns
- Vec3UnownedHandle
Transfer ownership: None Nullable: False
ToFloat(Vec3Handle, ref float)
Calls native method graphene_vec3_to_float. Version: 1.0
[Version("1.0")]
public static extern void ToFloat(Vec3Handle v, ref float dest)
Parameters
v
Vec3HandleTransfer ownership: None Nullable: False
dest
floatTransfer ownership: None Nullable: False
XAxis()
Calls native function graphene_vec3_x_axis. Version: 1.0
[Version("1.0")]
public static extern Vec3UnownedHandle XAxis()
Returns
- Vec3UnownedHandle
Transfer ownership: None Nullable: False
YAxis()
Calls native function graphene_vec3_y_axis. Version: 1.0
[Version("1.0")]
public static extern Vec3UnownedHandle YAxis()
Returns
- Vec3UnownedHandle
Transfer ownership: None Nullable: False
ZAxis()
Calls native function graphene_vec3_z_axis. Version: 1.0
[Version("1.0")]
public static extern Vec3UnownedHandle ZAxis()
Returns
- Vec3UnownedHandle
Transfer ownership: None Nullable: False
Zero()
Calls native function graphene_vec3_zero. Version: 1.0
[Version("1.0")]
public static extern Vec3UnownedHandle Zero()
Returns
- Vec3UnownedHandle
Transfer ownership: None Nullable: False