Class MyCuboid
Inheritance
System.Object
MyCuboid
Assembly: VRage.Math.dll
Syntax
public class MyCuboid : Object
Constructors
MyCuboid()
Declaration
Fields
Sides
Declaration
public MyCuboidSide[] Sides
Field Value
Properties
UniqueLines
Declaration
public IEnumerable<Line> UniqueLines { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<Line> |
|
Vertices
Declaration
public IEnumerable<Vector3> Vertices { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<Vector3> |
|
Methods
CreateFromSizes(Single, Single, Single, Single, Single)
Declaration
public void CreateFromSizes(float width1, float depth1, float width2, float depth2, float length)
Parameters
Type |
Name |
Description |
System.Single |
width1 |
|
System.Single |
depth1 |
|
System.Single |
width2 |
|
System.Single |
depth2 |
|
System.Single |
length |
|
CreateFromVertices(Vector3[])
Declaration
public void CreateFromVertices(Vector3[] vertices)
Parameters
Type |
Name |
Description |
Vector3[] |
vertices |
|
Declaration
public MyCuboid CreateTransformed(ref Matrix worldMatrix)
Parameters
Type |
Name |
Description |
Matrix |
worldMatrix |
|
Returns
GetAABB()
Declaration
public BoundingBox GetAABB()
Returns
GetLocalAABB()
Declaration
public BoundingBox GetLocalAABB()
Returns