Table of Contents

Class Love.WireframeMesh

Namespace
MoreSlugcats
Assembly
Assembly-CSharp.dll
public class Love.WireframeMesh
Inheritance
Love.WireframeMesh
Inherited Members

Constructors

WireframeMesh(Love, int, Vector2)

public WireframeMesh(Love love, int startSprite, Vector2 pos)

Parameters

love Love
startSprite int
pos Vector2

Fields

alpha

public float alpha

Field Value

float

cubeVerts

public Vector2[,] cubeVerts

Field Value

Vector2[,]

fadePulse

public float fadePulse

Field Value

float

love

public Love love

Field Value

Love

numberOfSprites

public int numberOfSprites

Field Value

int

pixelScaleFactor

public float pixelScaleFactor

Field Value

float

pos

public Vector2 pos

Field Value

Vector2

rotation

public float rotation

Field Value

float

startSprite

public int startSprite

Field Value

int

yOff

public float yOff

Field Value

float

Methods

public void AddToContainer(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam, FContainer newContatiner)

Parameters

sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
newContatiner FContainer

DrawSprites(SpriteLeaser, RoomCamera, float, Vector2)

public void DrawSprites(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam, float timeStacker, Vector2 camPos)

Parameters

sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
timeStacker float
camPos Vector2

InitiateSprites(SpriteLeaser, RoomCamera)

public void InitiateSprites(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam)

Parameters

sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera

Update()

public void Update()

cubeVertices(float, float, float, float, float)

public Vector2[] cubeVertices(float x_center, float y_center, float length, float depth, float rotation)

Parameters

x_center float
y_center float
length float
depth float
rotation float

Returns

Vector2[]

diamondVertices(float, float, float, float)

public Vector2[] diamondVertices(float x_center, float y_center, float length, float rotation)

Parameters

x_center float
y_center float
length float
rotation float

Returns

Vector2[]

drawCubeWire(SpriteLeaser, int, float, float, float, float, float, float, Color, Color, int[], int[])

public void drawCubeWire(RoomCamera.SpriteLeaser sLeaser, int startInd, float x_center, float y_center, float length, float depth, float rotation, float alpha, Color main_color, Color sub_color, int[] sub_faces, int[] sub_edges)

Parameters

sLeaser RoomCamera.SpriteLeaser
startInd int
x_center float
y_center float
length float
depth float
rotation float
alpha float
main_color Color
sub_color Color
sub_faces int[]
sub_edges int[]

drawFullWire(SpriteLeaser, int, float, float, float, float, float, float)

public void drawFullWire(RoomCamera.SpriteLeaser sLeaser, int startInd, float x_center, float y_center, float length, float depth, float rotation, float alpha)

Parameters

sLeaser RoomCamera.SpriteLeaser
startInd int
x_center float
y_center float
length float
depth float
rotation float
alpha float

drawLine(SpriteLeaser, int, Vector2, Vector2, Color, float)

public void drawLine(RoomCamera.SpriteLeaser sLeaser, int ind, Vector2 start, Vector2 end, Color color, float alpha)

Parameters

sLeaser RoomCamera.SpriteLeaser
ind int
start Vector2
end Vector2
color Color
alpha float