Space Engineers
Public Member Functions | Properties | List of all members
Sandbox.Engine.Models.MyModelOctree Class Reference
Inheritance diagram for Sandbox.Engine.Models.MyModelOctree:
VRage.Game.Models.IMyTriangePruningStructure

Public Member Functions

 MyModelOctree (MyModel model)
 
VRage.Game.Models.MyIntersectionResultLineTriangleEx GetIntersectionWithLine (IMyEntity physObject, ref LineD line, IntersectionFlags flags)
 
VRage.Game.Models.MyIntersectionResultLineTriangleEx GetIntersectionWithLine (IMyEntity physObject, ref LineD line, ref MatrixD customInvMatrix, IntersectionFlags flags)
 
void GetTrianglesIntersectingLine (IMyEntity entity, ref LineD line, IntersectionFlags flags, List< VRage.Game.Models.MyIntersectionResultLineTriangleEx > result)
 
void GetTrianglesIntersectingLine (IMyEntity entity, ref LineD line, ref MatrixD customInvMatrix, IntersectionFlags flags, List< MyIntersectionResultLineTriangleEx > result)
 
void GetTrianglesIntersectingSphere (ref BoundingSphereD sphere, Vector3?referenceNormalVector, float?maxAngle, List< MyTriangle_Vertex_Normals > retTriangles, int maxNeighbourTriangles)
 
bool GetIntersectionWithSphere (IMyEntity physObject, ref BoundingSphereD sphere)
 
void GetTrianglesIntersectingSphere (ref BoundingSphereD sphere, List< MyTriangle_Vertex_Normal > retTriangles, int maxNeighbourTriangles)
 
void GetTrianglesIntersectingAABB (ref BoundingBoxD box, List< MyTriangle_Vertex_Normal > retTriangles, int maxNeighbourTriangles)
 
void Close ()
 
- Public Member Functions inherited from VRage.Game.Models.IMyTriangePruningStructure
void GetTrianglesIntersectingLine (IMyEntity entity, ref LineD line, IntersectionFlags flags, List< MyIntersectionResultLineTriangleEx > result)
 

Properties

int Size [get]
 
- Properties inherited from VRage.Game.Models.IMyTriangePruningStructure
int Size [get]
 

Detailed Description

Definition at line 25 of file MyModelOctree.cs.

Constructor & Destructor Documentation

Sandbox.Engine.Models.MyModelOctree.MyModelOctree ( MyModel  model)
inline

Definition at line 34 of file MyModelOctree.cs.

Member Function Documentation

void Sandbox.Engine.Models.MyModelOctree.Close ( )
inline

Implements VRage.Game.Models.IMyTriangePruningStructure.

Definition at line 129 of file MyModelOctree.cs.

VRage.Game.Models.MyIntersectionResultLineTriangleEx Sandbox.Engine.Models.MyModelOctree.GetIntersectionWithLine ( IMyEntity  physObject,
ref LineD  line,
IntersectionFlags  flags 
)
inline

Implements VRage.Game.Models.IMyTriangePruningStructure.

Definition at line 60 of file MyModelOctree.cs.

VRage.Game.Models.MyIntersectionResultLineTriangleEx Sandbox.Engine.Models.MyModelOctree.GetIntersectionWithLine ( IMyEntity  physObject,
ref LineD  line,
ref MatrixD  customInvMatrix,
IntersectionFlags  flags 
)
inline

Implements VRage.Game.Models.IMyTriangePruningStructure.

Definition at line 72 of file MyModelOctree.cs.

bool Sandbox.Engine.Models.MyModelOctree.GetIntersectionWithSphere ( IMyEntity  physObject,
ref BoundingSphereD  sphere 
)
inline

Implements VRage.Game.Models.IMyTriangePruningStructure.

Definition at line 104 of file MyModelOctree.cs.

void Sandbox.Engine.Models.MyModelOctree.GetTrianglesIntersectingAABB ( ref BoundingBoxD  box,
List< MyTriangle_Vertex_Normal retTriangles,
int  maxNeighbourTriangles 
)
inline

Implements VRage.Game.Models.IMyTriangePruningStructure.

Definition at line 123 of file MyModelOctree.cs.

void Sandbox.Engine.Models.MyModelOctree.GetTrianglesIntersectingLine ( IMyEntity  entity,
ref LineD  line,
IntersectionFlags  flags,
List< VRage.Game.Models.MyIntersectionResultLineTriangleEx result 
)
inline

Definition at line 81 of file MyModelOctree.cs.

void Sandbox.Engine.Models.MyModelOctree.GetTrianglesIntersectingLine ( IMyEntity  entity,
ref LineD  line,
ref MatrixD  customInvMatrix,
IntersectionFlags  flags,
List< MyIntersectionResultLineTriangleEx result 
)
inline

Implements VRage.Game.Models.IMyTriangePruningStructure.

Definition at line 87 of file MyModelOctree.cs.

void Sandbox.Engine.Models.MyModelOctree.GetTrianglesIntersectingSphere ( ref BoundingSphereD  sphere,
Vector3 referenceNormalVector,
float?  maxAngle,
List< MyTriangle_Vertex_Normals retTriangles,
int  maxNeighbourTriangles 
)
inline

Implements VRage.Game.Models.IMyTriangePruningStructure.

Definition at line 96 of file MyModelOctree.cs.

void Sandbox.Engine.Models.MyModelOctree.GetTrianglesIntersectingSphere ( ref BoundingSphereD  sphere,
List< MyTriangle_Vertex_Normal retTriangles,
int  maxNeighbourTriangles 
)
inline

Implements VRage.Game.Models.IMyTriangePruningStructure.

Definition at line 118 of file MyModelOctree.cs.

Property Documentation

int Sandbox.Engine.Models.MyModelOctree.Size
get

Definition at line 134 of file MyModelOctree.cs.


The documentation for this class was generated from the following file: