|
void | ClampVoxelCoord (ref VRageMath.Vector3I voxelCoord) |
|
void | Init (MyObjectBuilder_EntityBase builder) |
|
new MyObjectBuilder_EntityBase | GetObjectBuilder (bool copy=false) |
|
new void | Close () |
|
new bool | DoOverlapSphereTest (float sphereRadius, Vector3D spherePos) |
|
new bool | GetIntersectionWithSphere (ref VRageMath.BoundingSphereD sphere) |
|
float | GetVoxelContentInBoundingBox (BoundingBoxD worldAabb, out float cellCount) |
|
Vector3I | GetVoxelCoordinateFromMeters (Vector3D pos) |
|
bool | IsBoxIntersectingBoundingBoxOfThisVoxelMap (ref BoundingBoxD boundingBox) |
|
bool | AreAllAabbCornersInside (MatrixD aabbWorldTransform, BoundingBoxD aabb) |
| Returns true if all corners of a boundingbox are inside a voxel. More...
|
|
bool | IsAnyAabbCornerInside (MatrixD aabbWorldTransform, BoundingBoxD aabb) |
| Returns true if all corners of a boundingbox are inside a voxel. More...
|
|
int | CountCornersInside (MatrixD aabbWorldTransform, BoundingBoxD aabb) |
| Returns the count of how many corners of a boundingbox are inside a voxel. More...
|
|
bool | IsOverlapOverThreshold (BoundingBoxD worldAabb, float thresholdPercentage=0.9f) |
| Returns true if the bounding box contains at least the specified amount (as a percent) of voxel material. More...
|
|
void | VoxelCutoutSphere (Vector3D center, float radius, bool createDebris, bool damage) |
| Cuts out the request volume from the voxel. More...
|
|
void | VoxelOperationCapsule (Vector3D A, Vector3D B, float radius, MatrixD Transformation, byte material, OperationType operation) |
| Perform voxel operation using a capsule shape. More...
|
|
void | VoxelOperationBox (BoundingBoxD box, MatrixD Transformation, byte material, OperationType operation) |
| Perform voxel operation using a box shape. More...
|
|
void | VoxelOperationElipsoid (Vector3 radius, MatrixD Transformation, byte material, OperationType operation) |
| Perform voxel operation using a ellipsoid shape. More...
|
|
void | VoxelOperationRamp (BoundingBoxD box, Vector3D rampNormal, double rampNormalW, MatrixD Transformation, byte material, OperationType operation) |
| Perform voxel operation using a ramp shape. More...
|
|
void | VoxelOperationSphere (Vector3D center, float radius, byte material, OperationType operation) |
| Perform voxel operation using a sphere shape. More...
|
|
void | CreateMeteorCrater (Vector3D center, float radius, Vector3 normal, byte materialIdx) |
| Creates a meteor crater on a voxel, depositing the specified material. Call on server. More...
|
|
string | GetFriendlyName () |
|
void | Delete () |
|
void | BeforeSave () |
|
IMyEntity | GetTopMostParent (Type type=null) |
|
void | SetLocalMatrix (VRageMath.Matrix localMatrix, object source=null) |
|
void | GetChildren (List< IMyEntity > children, Func< IMyEntity, bool > collect=null) |
|
MyEntitySubpart | GetSubpart (string name) |
|
bool | TryGetSubpart (string name, out MyEntitySubpart subpart) |
|
VRageMath.Vector3 | GetDiffuseColor () |
|
bool | IsVisible () |
|
void | DebugDraw () |
|
void | DebugDrawInvalidTriangles () |
|
void | EnableColorMaskForSubparts (bool enable) |
|
void | SetColorMaskForSubparts (VRageMath.Vector3 colorMaskHsv) |
|
void | SetEmissiveParts (string emissiveName, Color emissivePartColor, float emissivity) |
| Sets the emissive value of a specific emissive material on entity. More...
|
|
void | SetEmissivePartsForSubparts (string emissiveName, Color emissivePartColor, float emissivity) |
| Sets the emissive value of a specific emissive material on all entity subparts. More...
|
|
float | GetDistanceBetweenCameraAndBoundingSphere () |
|
float | GetDistanceBetweenCameraAndPosition () |
|
float | GetLargestDistanceBetweenCameraAndBoundingSphere () |
|
float | GetSmallestDistanceBetweenCameraAndBoundingSphere () |
|
void | OnRemovedFromScene (object source) |
|
void | OnAddedToScene (object source) |
|
MatrixD | GetViewMatrix () |
|
MatrixD | GetWorldMatrixNormalizedInv () |
|
void | SetWorldMatrix (VRageMath.MatrixD worldMatrix, object source=null) |
|
void | SetPosition (VRageMath.Vector3D pos) |
|
bool | GetIntersectionWithLine (ref LineD line, out VRage.Game.Models.MyIntersectionResultLineTriangleEx?tri, IntersectionFlags flags) |
|
Vector3 | GetIntersectionWithLineAndBoundingSphere (ref LineD line, float boundingSphereRadiusMultiplier) |
|
bool | GetIntersectionWithSphere (ref BoundingSphereD sphere) |
|
void | GetTrianglesIntersectingSphere (ref BoundingSphereD sphere, Vector3?referenceNormalVector, float?maxAngle, System.Collections.Generic.List< MyTriangle_Vertex_Normals > retTriangles, int maxNeighbourTriangles) |
|
void | AddToGamePruningStructure () |
|
void | RemoveFromGamePruningStructure () |
|
void | UpdateGamePruningStructure () |
|
VRageMath.Vector3D | GetPosition () |
|
void | AddDecals (MyHitInfo hitInfo, MyStringHash source, object customdata, IMyDecalHandler decalHandler, MyStringHash material) |
| - Parameters
-
hitInfo | Hithinfo on world coordinates |
More...
|
|
|
IMyStorage | Storage [get] |
|
VRageMath.Vector3D | PositionLeftBottomCorner [get] |
| Position of left/bottom corner of this voxel map, in world space (not relative to sector) More...
|
|
IMyVoxelBase | RootVoxel [get] |
| Gets root voxel, for asteroids and planets itself. For MyVoxelPhysics, should return owning planet. More...
|
|
Matrix | Orientation [get] |
|
string | StorageName [get] |
|
Vector3I | Size [get] |
| Size of voxel map (in voxels) More...
|
|
Vector3 | SizeInMetres [get] |
| Size of voxel map (in metres) More...
|
|
Vector3I | StorageMin [get] |
|
Vector3I | StorageMax [get] |
|
MyEntityComponentContainer | Components [get] |
|
MyPhysicsComponentBase | Physics [get, set] |
|
MyPositionComponentBase | PositionComp [get, set] |
|
MyRenderComponentBase | Render [get, set] |
|
MyEntityComponentBase | GameLogic [get, set] |
|
MyHierarchyComponentBase | Hierarchy [get, set] |
|
MySyncComponentBase | SyncObject [get] |
|
MyModStorageComponentBase | Storage [get, set] |
| Custom storage for mods. Shared with all mods. More...
|
|
EntityFlags | Flags [get, set] |
|
long | EntityId [get, set] |
|
string | Name [get, set] |
|
bool | MarkedForClose [get] |
|
bool | Closed [get] |
|
bool | DebugAsyncLoading [get] |
|
bool | Save [get, set] |
|
MyPersistentEntityFlags2 | PersistentFlags [get, set] |
|
MyEntityUpdateEnum | NeedsUpdate [get, set] |
|
IMyEntity | Parent [get] |
|
Matrix | LocalMatrix [get, set] |
|
bool | NearFlag [get, set] |
|
bool | CastShadows [get, set] |
|
bool | FastCastShadowResolve [get, set] |
|
bool | NeedsResolveCastShadow [get, set] |
|
float | MaxGlassDistSq [get] |
|
bool | NeedsDraw [get, set] |
|
bool | NeedsDrawFromParent [get, set] |
|
bool | Transparent [get, set] |
|
bool | ShadowBoxLod [get, set] |
|
bool | SkipIfTooSmall [get, set] |
|
bool | Visible [get, set] |
|
bool | InScene [get, set] |
|
bool | InvalidateOnMove [get] |
|
new VRageMath.MatrixD | WorldMatrix [get, set] |
|
VRageMath.MatrixD | WorldMatrixInvScaled [get] |
|
VRageMath.MatrixD | WorldMatrixNormalizedInv [get] |
|
bool | IsVolumetric [get] |
|
BoundingBox | LocalAABB [get, set] |
|
BoundingBox | LocalAABBHr [get] |
|
BoundingSphere | LocalVolume [get, set] |
|
Vector3 | LocalVolumeOffset [get, set] |
|
Vector3 | LocationForHudMarker [get] |
|
bool | IsCCDForProjectiles [get] |
|
string | DisplayName [get, set] |
|
MyEntityComponentContainer | Components [get] |
|
long | EntityId [get] |
|
VRageMath.BoundingBoxD | WorldAABB [get] |
|
VRageMath.BoundingBoxD | WorldAABBHr [get] |
|
VRageMath.MatrixD | WorldMatrix [get] |
|
VRageMath.BoundingSphereD | WorldVolume [get] |
|
VRageMath.BoundingSphereD | WorldVolumeHr [get] |
|
Action< IMyEntity > | OnClose |
|
Action< IMyEntity > | OnClosing |
|
Action< IMyEntity > | OnMarkForClose |
|
Action< IMyEntity > | OnPhysicsChanged |
|
Definition at line 7 of file IMyVoxelMap.cs.