Class SharedDecalSystem
Inheritance
System.Object
SharedDecalSystem
Assembly: Content.Shared.dll
Syntax
public abstract class SharedDecalSystem : EntitySystem
Fields
|
Improve this Doc
View Source
ChunkSize
Declaration
public const int ChunkSize = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
MapManager
Declaration
protected readonly IMapManager MapManager
Field Value
Type |
Description |
Robust.Shared.Map.IMapManager |
|
|
Improve this Doc
View Source
PrototypeManager
Declaration
protected readonly IPrototypeManager PrototypeManager
Field Value
Type |
Description |
Robust.Shared.Prototypes.IPrototypeManager |
|
|
Improve this Doc
View Source
PvsEnabled
Declaration
protected bool PvsEnabled
Field Value
Type |
Description |
System.Boolean |
|
Methods
|
Improve this Doc
View Source
ChunkCollection(EntityUid, DecalGridComponent)
Declaration
protected Dictionary<Vector2i, DecalGridComponent.DecalChunk>? ChunkCollection(EntityUid gridEuid, DecalGridComponent comp = null)
Parameters
Returns
|
Improve this Doc
View Source
DirtyChunk(EntityUid, Vector2i, DecalGridComponent.DecalChunk)
Declaration
protected virtual void DirtyChunk(EntityUid id, Vector2i chunkIndices, DecalGridComponent.DecalChunk chunk)
Parameters
|
Improve this Doc
View Source
GetChunkIndices(Vector2)
Declaration
public static Vector2i GetChunkIndices(Vector2 coordinates)
Parameters
Type |
Name |
Description |
Vector2 |
coordinates |
|
Returns
Type |
Description |
Vector2i |
|
|
Improve this Doc
View Source
Initialize()
Declaration
public override void Initialize()
|
Improve this Doc
View Source
OnDecalRemoved(EntityUid, UInt32, DecalGridComponent, Vector2i, DecalGridComponent.DecalChunk)
Declaration
protected virtual void OnDecalRemoved(EntityUid gridId, uint decalId, DecalGridComponent component, Vector2i indices, DecalGridComponent.DecalChunk chunk)
Parameters
|
Improve this Doc
View Source
RemoveDecalInternal(EntityUid, UInt32, out Decal, DecalGridComponent)
Declaration
protected bool RemoveDecalInternal(EntityUid gridId, uint decalId, out Decal removed, DecalGridComponent component = null)
Parameters
Returns
Type |
Description |
System.Boolean |
|