|
readonly record struct | Command (Texture2D Texture, VertexPositionColorTexture VertexBL, VertexPositionColorTexture VertexBR, VertexPositionColorTexture VertexTL, VertexPositionColorTexture VertexTR, float Depth, Vector2 Min, Vector2 Max, int Index) |
|
void | Begin (SpriteSortMode sortMode) |
|
void | Draw (Texture2D texture, Vector2 pos, Rectangle? srcRect, Color color, float rotationRad, Vector2 origin, Vector2 scale, SpriteEffects effects, float depth) |
|
void | Draw (Texture2D texture, VertexPositionColorTexture[] vertices, float layerDepth, int? count=null) |
|
void | End () |
|
void | Render (Camera cam) |
|
void | Dispose () |
|
|
Vector2 | Min [get] |
|
Vector2 | Max [get] |
|
Definition at line 10 of file SpriteRecorder.cs.
◆ Begin()
void Barotrauma.SpriteRecorder.Begin |
( |
SpriteSortMode |
sortMode | ) |
|
◆ Command()
readonly record struct Barotrauma.SpriteRecorder.Command |
( |
Texture2D |
Texture, |
|
|
VertexPositionColorTexture |
VertexBL, |
|
|
VertexPositionColorTexture |
VertexBR, |
|
|
VertexPositionColorTexture |
VertexTL, |
|
|
VertexPositionColorTexture |
VertexTR, |
|
|
float |
Depth, |
|
|
Vector2 |
Min, |
|
|
Vector2 |
Max, |
|
|
int |
Index |
|
) |
| |
◆ Dispose()
void Barotrauma.SpriteRecorder.Dispose |
( |
| ) |
|
◆ Draw() [1/2]
void Barotrauma.SpriteRecorder.Draw |
( |
Texture2D |
texture, |
|
|
Vector2 |
pos, |
|
|
Rectangle? |
srcRect, |
|
|
Color |
color, |
|
|
float |
rotationRad, |
|
|
Vector2 |
origin, |
|
|
Vector2 |
scale, |
|
|
SpriteEffects |
effects, |
|
|
float |
depth |
|
) |
| |
◆ Draw() [2/2]
void Barotrauma.SpriteRecorder.Draw |
( |
Texture2D |
texture, |
|
|
VertexPositionColorTexture[] |
vertices, |
|
|
float |
layerDepth, |
|
|
int? |
count = null |
|
) |
| |
◆ End()
void Barotrauma.SpriteRecorder.End |
( |
| ) |
|
◆ Render()
void Barotrauma.SpriteRecorder.Render |
( |
Camera |
cam | ) |
|
◆ BasicEffect
BasicEffect Barotrauma.SpriteRecorder.BasicEffect = null |
|
static |
◆ ReadyToRender
volatile bool Barotrauma.SpriteRecorder.ReadyToRender = false |
◆ Max
Vector2 Barotrauma.SpriteRecorder.Max |
|
get |
◆ Min
Vector2 Barotrauma.SpriteRecorder.Min |
|
get |