The PropManager class is a class from the root namespace (Assembly-CSharp.dll).
In order to get the current game PropManager instance, use Singleton<PropManager>.instance.
Properties
Property |
Type |
Description
|
MarkersVisible |
bool |
|
ID_ACIMap |
int |
|
ID_AtlasRect |
int |
|
ID_Color |
int |
|
ID_HeightMap |
int |
|
ID_HeightMapping |
int |
|
ID_MainTex |
int |
|
ID_MarkerAlpha |
int |
|
ID_ObjectIndex |
int |
|
ID_PropColor |
int |
|
ID_PropLocation |
int |
|
ID_PropObjectIndex |
int |
|
ID_RollLocation |
int |
|
ID_RollParams |
int |
|
ID_SurfaceMapping |
int |
|
ID_WaterHeightMap |
int |
|
ID_WaterHeightMapping |
int |
|
ID_WaterSurfaceMapping |
int |
|
ID_XYSMap |
int |
|
m_infoCount |
int |
|
m_lodAciAtlas |
Texture2D |
|
m_lodRgbAtlas |
Texture2D |
|
m_lodXysAtlas |
Texture2D |
|
m_materialBlock |
MaterialPropertyBlock |
|
m_propCount |
int |
|
m_propGrid |
ushort[] |
|
m_props |
Array16<PropInstance> |
|
m_propsUpdated |
bool |
|
m_updatedProps |
ulong[] |
|
MAX_ASSET_PROPS |
int |
|
MAX_MAP_PROPS |
int |
|
MAX_PROP_COUNT |
int |
|
PROPGRID_CELL_SIZE |
float |
|
PROPGRID_RESOLUTION |
int |
|
Public Methods
Method |
Return Type |
Description
|
AfterTerrainUpdated(TerrainArea heightArea, TerrainArea surfaceArea, TerrainArea zoneArea) |
void |
|
BeginRenderingImpl(RenderManager.CameraInfo cameraInfo) |
void |
|
TerrainUpdated(TerrainArea heightArea, TerrainArea surfaceArea, TerrainArea zoneArea) |
void |
|
CalculateGroupData(int groupX, int groupZ, int layer, ref int vertexCount, ref int triangleCount, ref int objectCount, ref RenderGroup.VertexArrays vertexArrays) |
bool |
|
CheckLimits() |
bool |
|
CheckReferences() |
void |
|
CreateProp(out ushort prop, ref ColossalFramework.Math.Randomizer randomizer, PropInfo info, Vector3 position, float angle, bool single) |
bool |
Tries to create a prop. Returns false if it failed.
|
DestroyProperties(PropProperties properties) |
void |
|
EndRenderingImpl(RenderManager.CameraInfo cameraInfo) |
void |
|
GetData(FastList<IDataContainer> data) |
void |
|
GetRandomPropInfo(ref ColossalFramework.Math.Randomizer randomizer, ItemClass.Service service) |
PropInfo |
Returns a random prop prefab from a specified service type.
|
InitializeProperties(PropProperties properties) |
void |
|
InitRenderData() |
void |
|
MoveProp(ushort prop, Vector3 position) |
void |
Moves the prop to a specified position in space.
|
THIS ARTICLE IS NOT FULL YET !