Свойство | Тип | Описание | |
---|---|---|---|
Entities | List |
||
HeightBlockers | HeightBlockerParameters | ||
PreviewInEditor | bool | ||
Size | SizeParameters | ||
Terrain | Terrain | ||
Visual | VisualParameters | ||
visibleEntities | List |
Метод | Описание | |
---|---|---|
AddEntity ( LOSEntity, entity ) : void | ||
GetFOWColor ( Rect rect ) : |
||
GetFOWColor ( Vector2 pos ) : |
||
GetQuantizedFOW ( |
||
GetRevealFromFOW ( |
||
InitializeTexture ( ) : void | ||
InvalidateTerrainHeightsCache ( ) : void | ||
IsVisible ( Rect rect ) : LOSEntity.RevealStates | ||
IsVisible ( Vector2 pos ) : LOSEntity.RevealStates | ||
RemoveEntity ( LOSEntity, entity ) : void | ||
Start ( ) : void | ||
Update ( ) : void |
Метод | Описание | |
---|---|---|
AddAO ( Rect rect, float height ) : void | ||
AddHeightBlocker ( Rect rect, float height ) : void | ||
EaseToward ( byte from, byte to, int amount ) : byte | ||
GenerateParameterHash ( ) : int | ||
GetExtents ( Rect rect, int inflateRange, int &xMin, int &yMin, int &xMax, int &yMax ) : void | ||
GetExtents ( Vector2 pos, int inflateRange, int &xMin, int &yMin, int &xMax, int &yMax ) : void | ||
RevealLOS ( LOSEntity, sight, float los, float fow, float grayscale ) : void | ||
RevealLOS ( Rect rect, float range, float height, float los, float fow, float grayscale ) : void | ||
SizeFromParams ( int desired, float terrainSize, float scale ) : int |
public static AddEntity ( LOSEntity, entity ) : void | ||
entity | LOSEntity, | |
Результат | void |
public GetFOWColor ( Rect rect ) : |
||
rect | Rect | |
Результат |
public GetFOWColor ( Vector2 pos ) : |
||
pos | Vector2 | |
Результат |
public GetQuantizedFOW ( |
||
px | ||
Результат |
public GetRevealFromFOW ( |
||
px | ||
Результат | LOSEntity.RevealStates |
public InvalidateTerrainHeightsCache ( ) : void | ||
Результат | void |
public IsVisible ( Rect rect ) : LOSEntity.RevealStates | ||
rect | Rect | |
Результат | LOSEntity.RevealStates |
public IsVisible ( Vector2 pos ) : LOSEntity.RevealStates | ||
pos | Vector2 | |
Результат | LOSEntity.RevealStates |
public static RemoveEntity ( LOSEntity, entity ) : void | ||
entity | LOSEntity, | |
Результат | void |
public HeightBlockerParameters HeightBlockers | ||
Результат | HeightBlockerParameters |