Class Box
public class Box
- Inheritance
-
Box
- Inherited Members
Methods
Alloc()
Calls native constructor graphene_box_alloc. Version: 1.2
[Version("1.2")]
public static extern BoxOwnedHandle Alloc()
Returns
- BoxOwnedHandle
Transfer ownership: Full Nullable: False
ContainsBox(BoxHandle, BoxHandle)
Calls native method graphene_box_contains_box. Version: 1.2
[Version("1.2")]
public static extern bool ContainsBox(BoxHandle a, BoxHandle b)
Parameters
a
BoxHandleTransfer ownership: None Nullable: False
b
BoxHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
ContainsPoint(BoxHandle, Point3DHandle)
Calls native method graphene_box_contains_point. Version: 1.2
[Version("1.2")]
public static extern bool ContainsPoint(BoxHandle box, Point3DHandle point)
Parameters
box
BoxHandleTransfer ownership: None Nullable: False
point
Point3DHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
Empty()
Calls native function graphene_box_empty. Version: 1.2
[Version("1.2")]
public static extern BoxUnownedHandle Empty()
Returns
- BoxUnownedHandle
Transfer ownership: None Nullable: False
Equal(BoxHandle, BoxHandle)
Calls native method graphene_box_equal. Version: 1.2
[Version("1.2")]
public static extern bool Equal(BoxHandle a, BoxHandle b)
Parameters
a
BoxHandleTransfer ownership: None Nullable: False
b
BoxHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
Free(BoxHandle)
Calls native method graphene_box_free. Version: 1.2
[Version("1.2")]
public static extern void Free(BoxHandle box)
Parameters
box
BoxHandleTransfer ownership: None Nullable: False
GetDepth(BoxHandle)
Calls native method graphene_box_get_depth. Version: 1.2
[Version("1.2")]
public static extern float GetDepth(BoxHandle box)
Parameters
box
BoxHandleTransfer ownership: None Nullable: False
Returns
- float
Transfer ownership: None Nullable: False
GetGType()
Calls native function graphene_box_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetHeight(BoxHandle)
Calls native method graphene_box_get_height. Version: 1.2
[Version("1.2")]
public static extern float GetHeight(BoxHandle box)
Parameters
box
BoxHandleTransfer ownership: None Nullable: False
Returns
- float
Transfer ownership: None Nullable: False
GetVertices(BoxHandle, Vec3ArrayHandle)
Calls native method graphene_box_get_vertices. Version: 1.2
[Version("1.2")]
public static extern void GetVertices(BoxHandle box, Vec3ArrayHandle vertices)
Parameters
box
BoxHandleTransfer ownership: None Nullable: False
vertices
Vec3ArrayHandleTransfer ownership: None Nullable: False
GetWidth(BoxHandle)
Calls native method graphene_box_get_width. Version: 1.2
[Version("1.2")]
public static extern float GetWidth(BoxHandle box)
Parameters
box
BoxHandleTransfer ownership: None Nullable: False
Returns
- float
Transfer ownership: None Nullable: False
Infinite()
Calls native function graphene_box_infinite. Version: 1.2
[Version("1.2")]
public static extern BoxUnownedHandle Infinite()
Returns
- BoxUnownedHandle
Transfer ownership: None Nullable: False
Init(BoxHandle, Point3DHandle, Point3DHandle)
Calls native method graphene_box_init. Version: 1.2
[Version("1.2")]
public static extern BoxUnownedHandle Init(BoxHandle box, Point3DHandle min, Point3DHandle max)
Parameters
box
BoxHandleTransfer ownership: None Nullable: False
min
Point3DHandleTransfer ownership: None Nullable: True
max
Point3DHandleTransfer ownership: None Nullable: True
Returns
- BoxUnownedHandle
Transfer ownership: None Nullable: False
InitFromBox(BoxHandle, BoxHandle)
Calls native method graphene_box_init_from_box. Version: 1.2
[Version("1.2")]
public static extern BoxUnownedHandle InitFromBox(BoxHandle box, BoxHandle src)
Parameters
box
BoxHandleTransfer ownership: None Nullable: False
src
BoxHandleTransfer ownership: None Nullable: False
Returns
- BoxUnownedHandle
Transfer ownership: None Nullable: False
InitFromPoints(BoxHandle, uint, Point3DArrayHandle)
Calls native method graphene_box_init_from_points. Version: 1.2
[Version("1.2")]
public static extern BoxUnownedHandle InitFromPoints(BoxHandle box, uint nPoints, Point3DArrayHandle points)
Parameters
box
BoxHandleTransfer ownership: None Nullable: False
nPoints
uintTransfer ownership: None Nullable: False
points
Point3DArrayHandleTransfer ownership: None Nullable: False
Returns
- BoxUnownedHandle
Transfer ownership: None Nullable: False
InitFromVec3(BoxHandle, Vec3Handle, Vec3Handle)
Calls native method graphene_box_init_from_vec3. Version: 1.2
[Version("1.2")]
public static extern BoxUnownedHandle InitFromVec3(BoxHandle box, Vec3Handle min, Vec3Handle max)
Parameters
box
BoxHandleTransfer ownership: None Nullable: False
min
Vec3HandleTransfer ownership: None Nullable: True
max
Vec3HandleTransfer ownership: None Nullable: True
Returns
- BoxUnownedHandle
Transfer ownership: None Nullable: False
InitFromVectors(BoxHandle, uint, Vec3ArrayHandle)
Calls native method graphene_box_init_from_vectors. Version: 1.2
[Version("1.2")]
public static extern BoxUnownedHandle InitFromVectors(BoxHandle box, uint nVectors, Vec3ArrayHandle vectors)
Parameters
box
BoxHandleTransfer ownership: None Nullable: False
nVectors
uintTransfer ownership: None Nullable: False
vectors
Vec3ArrayHandleTransfer ownership: None Nullable: False
Returns
- BoxUnownedHandle
Transfer ownership: None Nullable: False
MinusOne()
Calls native function graphene_box_minus_one. Version: 1.2
[Version("1.2")]
public static extern BoxUnownedHandle MinusOne()
Returns
- BoxUnownedHandle
Transfer ownership: None Nullable: False
One()
Calls native function graphene_box_one. Version: 1.2
[Version("1.2")]
public static extern BoxUnownedHandle One()
Returns
- BoxUnownedHandle
Transfer ownership: None Nullable: False
OneMinusOne()
Calls native function graphene_box_one_minus_one. Version: 1.2
[Version("1.2")]
public static extern BoxUnownedHandle OneMinusOne()
Returns
- BoxUnownedHandle
Transfer ownership: None Nullable: False
Zero()
Calls native function graphene_box_zero. Version: 1.2
[Version("1.2")]
public static extern BoxUnownedHandle Zero()
Returns
- BoxUnownedHandle
Transfer ownership: None Nullable: False