Interface IMyEnvironmentOwner
Assembly: Sandbox.Game.dll
Syntax
public interface IMyEnvironmentOwner
Properties
Entity
Declaration
Property Value
EnvironmentDefinition
Declaration
MyWorldEnvironmentDefinition EnvironmentDefinition { get; }
Property Value
Type |
Description |
Sandbox.Game.WorldEnvironment.Definitions.MyWorldEnvironmentDefinition |
|
Methods
GetBoundingShape(ref Vector3D, ref Vector3, ref Vector3)
Declaration
Vector3D[] GetBoundingShape(ref Vector3D worldPos, ref Vector3 basisX, ref Vector3 basisY)
Parameters
Returns
GetDefinition(UInt16, out MyRuntimeEnvironmentItemInfo)
Declaration
void GetDefinition(ushort index, out MyRuntimeEnvironmentItemInfo def)
Parameters
Type |
Name |
Description |
System.UInt16 |
index |
|
Sandbox.Game.WorldEnvironment.Definitions.MyRuntimeEnvironmentItemInfo |
def |
|
GetModelForId(Int16)
Declaration
MyPhysicalModelDefinition GetModelForId(short id)
Parameters
Type |
Name |
Description |
System.Int16 |
id |
|
Returns
GetModelId(MyPhysicalModelDefinition)
Declaration
short GetModelId(MyPhysicalModelDefinition def)
Parameters
Returns
Type |
Description |
System.Int16 |
|
GetSectorById(Int64)
Declaration
MyEnvironmentSector GetSectorById(long packedSectorId)
Parameters
Type |
Name |
Description |
System.Int64 |
packedSectorId |
|
Returns
GetSectorForPosition(Vector3D)
Declaration
MyEnvironmentSector GetSectorForPosition(Vector3D positionWorld)
Parameters
Type |
Name |
Description |
Vector3D |
positionWorld |
|
Returns
GetSeed()
Declaration
Returns
Type |
Description |
System.Int32 |
|
GetSurfaceNormalForPoint(ref Vector3D, out Vector3D)
Declaration
void GetSurfaceNormalForPoint(ref Vector3D point, out Vector3D normal)
Parameters
ProjectPointToSurface(ref Vector3D)
Declaration
void ProjectPointToSurface(ref Vector3D center)
Parameters
QuerySurfaceParameters(Vector3D, ref BoundingBoxD, List<Vector3>, MyList<MySurfaceParams>)
Declaration
void QuerySurfaceParameters(Vector3D localOrigin, ref BoundingBoxD queryBounds, List<Vector3> queries, MyList<MySurfaceParams> results)
Parameters
ScheduleWork(MyEnvironmentSector, Boolean)
Declaration
void ScheduleWork(MyEnvironmentSector sector, bool parallel)
Parameters
SetSectorPinned(MyEnvironmentSector, Boolean)
Declaration
void SetSectorPinned(MyEnvironmentSector sector, bool pinned)
Parameters