Class GraphicsModule
- Namespace
- Global
- Assembly
- Assembly-CSharp.dll
public abstract class GraphicsModule : IDrawable
- Inheritance
-
GraphicsModule
- Implements
-
- Derived
-
- Inherited Members
-
Constructors
GraphicsModule(PhysicalObject, bool)
public GraphicsModule(PhysicalObject ow, bool internalContainers)
Parameters
ow PhysicalObject
internalContainers bool
Fields
DEBUGLABELS
public DebugLabel[] DEBUGLABELS
Field Value
- DebugLabel[]
bodyParts
public BodyPart[] bodyParts
Field Value
- BodyPart[]
cullRange
Field Value
- float
culled
Field Value
- bool
dispose
Field Value
- bool
internalContainerObjects
public List<GraphicsModule.ObjectHeldInInternalContainer> internalContainerObjects
Field Value
- List<GraphicsModule.ObjectHeldInInternalContainer>
lastCulled
Field Value
- bool
Properties
ShouldBeCulled
public virtual bool ShouldBeCulled { get; }
Property Value
- bool
owner
public PhysicalObject owner { get; set; }
Property Value
- PhysicalObject
Methods
AddObjectToInternalContainer(IDrawable, int)
public void AddObjectToInternalContainer(IDrawable obj, int container)
Parameters
obj IDrawable
container int
AddToContainer(SpriteLeaser, RoomCamera, FContainer)
public virtual void AddToContainer(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam, FContainer newContatiner)
Parameters
sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
newContatiner FContainer
ApplyPalette(SpriteLeaser, RoomCamera, RoomPalette)
public virtual void ApplyPalette(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam, RoomPalette palette)
Parameters
sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
palette RoomPalette
BringSpritesToFront()
public void BringSpritesToFront()
DrawSprites(SpriteLeaser, RoomCamera, float, Vector2)
public virtual void DrawSprites(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam, float timeStacker, Vector2 camPos)
Parameters
sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
timeStacker float
camPos Vector2
HypothermiaColorBlend(Color)
public Color HypothermiaColorBlend(Color oldCol)
Parameters
oldCol Color
Returns
- Color
InitiateSprites(SpriteLeaser, RoomCamera)
public virtual void InitiateSprites(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam)
Parameters
sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
PushOutOf(Vector2, float)
public virtual void PushOutOf(Vector2 pos, float rad)
Parameters
pos Vector2
rad float
ReleaseAllInternallyContainedSprites()
public void ReleaseAllInternallyContainedSprites()
ReleaseSpecificInternallyContainedObjectSprites(IDrawable)
public void ReleaseSpecificInternallyContainedObjectSprites(IDrawable obj)
Parameters
obj IDrawable
ReleaseSpecificInternallyContainedObjectSprites(PhysicalObject)
public void ReleaseSpecificInternallyContainedObjectSprites(PhysicalObject obj)
Parameters
obj PhysicalObject
ReleaseSpecificInternallyContainedObjectSprites(int)
public void ReleaseSpecificInternallyContainedObjectSprites(int index)
Parameters
index int
Reset()
public virtual void Reset()
SuckedIntoShortCut(Vector2)
public virtual void SuckedIntoShortCut(Vector2 shortCutPosition)
Parameters
shortCutPosition Vector2
Update()
public virtual void Update()