Difference between revisions of "API:Sandbox/ModAPI/IMyEntity"

From Space Engineers Wiki
Jump to: navigation, search
(Created page with "{{subst:APIStub}}")
 
(Replaced content with "{{APIPage}} == Usage == <!-- Usage information here --> == Examples == <syntaxhighlight lang="csharp"> // Examples here </syntaxhighlight> == Notes == Category:API:{...")
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
== Examples ==
 
== Examples ==
 
<syntaxhighlight lang="csharp">
 
<syntaxhighlight lang="csharp">
//Examples here
+
// Examples here
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Latest revision as of 07:28, 28 September 2014

Interface

public interface IMyEntity
Member of ModAPI
Raw file API:Sandbox/ModAPI/IMyEntity/raw


Methods
void Close()
bool DoOverlapSphereTest(System.Single, VRageMath.Vector3)
void GetChildren(System.Collections.Generic.List`1[Sandbox.ModAPI.IMyEntity], System.Func`2[Sandbox.ModAPI.IMyEntity,System.Boolean])
Vector3 GetDiffuseColor()
string GetFriendlyName()
Vector3] GetIntersectionWithLineAndBoundingSphere(VRageMath.Line&, System.Single)
bool GetIntersectionWithSphere(VRageMath.BoundingSphere&)
MyObjectBuilder_EntityBase GetObjectBuilder(System.Boolean)
Vector3 GetPosition()
IMyEntity GetTopMostParent(System.Type)
void GetTrianglesIntersectingSphere(VRageMath.BoundingSphere&, System.Nullable`1[VRageMath.Vector3], System.Int32)
Matrix GetViewMatrix()
bool IsSelectable()
bool IsVisible()
void MarkForClose()
void SetLocalMatrix(VRageMath.Matrix, System.Object)
void SetPosition(VRageMath.Vector3)
void SetWorldMatrix(VRageMath.Matrix, System.Object)




Usage

Examples

// Examples here

Notes