Table of Contents

Class NSHSwarmer.Shape

Namespace
Global
Assembly
Assembly-CSharp.dll
public class NSHSwarmer.Shape
Inheritance
NSHSwarmer.Shape
Inherited Members

Constructors

Shape(Shape, ShapeType, Vector3, float, float)

public Shape(NSHSwarmer.Shape owner, NSHSwarmer.Shape.ShapeType shapeType, Vector3 pos, float width, float height)

Parameters

owner NSHSwarmer.Shape
shapeType NSHSwarmer.Shape.ShapeType
pos Vector3
width float
height float

Fields

dRotA

public int dRotA

Field Value

int

dRotB

public int dRotB

Field Value

int

floatChangers

public NSHSwarmer.Shape.FloatChanger[] floatChangers

Field Value

FloatChanger[]

holoLines

public List<NSHSwarmer.Shape.Line> holoLines

Field Value

List<NSHSwarmer.Shape.Line>

lastPos

public Vector3 lastPos

Field Value

Vector3

owner

public NSHSwarmer.Shape owner

Field Value

NSHSwarmer.Shape

pos

public Vector3 pos

Field Value

Vector3

rotats

public float[] rotats

Field Value

float[]

shakeError

public bool shakeError

Field Value

bool

shapeType

public NSHSwarmer.Shape.ShapeType shapeType

Field Value

NSHSwarmer.Shape.ShapeType

startPos

public Vector3 startPos

Field Value

Vector3

subShapes

public List<NSHSwarmer.Shape> subShapes

Field Value

List<NSHSwarmer.Shape>

verts

public List<NSHSwarmer.Shape.Vert> verts

Field Value

List<NSHSwarmer.Shape.Vert>

Properties

DRotA

public NSHSwarmer.Shape.FloatChanger DRotA { get; }

Property Value

NSHSwarmer.Shape.FloatChanger

DRotB

public NSHSwarmer.Shape.FloatChanger DRotB { get; }

Property Value

NSHSwarmer.Shape.FloatChanger

Errors

public NSHSwarmer.Shape.FloatChanger Errors { get; }

Property Value

NSHSwarmer.Shape.FloatChanger

Fade

public NSHSwarmer.Shape.FloatChanger Fade { get; }

Property Value

NSHSwarmer.Shape.FloatChanger

Height

public NSHSwarmer.Shape.FloatChanger Height { get; }

Property Value

NSHSwarmer.Shape.FloatChanger

LinesCount

public int LinesCount { get; }

Property Value

int

MainRotation

public NSHSwarmer.Shape.FloatChanger MainRotation { get; }

Property Value

NSHSwarmer.Shape.FloatChanger

ShapeA

public NSHSwarmer.Shape.FloatChanger ShapeA { get; }

Property Value

NSHSwarmer.Shape.FloatChanger

ShapeB

public NSHSwarmer.Shape.FloatChanger ShapeB { get; }

Property Value

NSHSwarmer.Shape.FloatChanger

Methods

DirPow(Vector2, float, float, ref float[,])

public float DirPow(Vector2 v, float upRotat, float timeStacker, ref float[,] directionsPower)

Parameters

v Vector2
upRotat float
timeStacker float
directionsPower float[,]

Returns

float

Draw(SpriteLeaser, RoomCamera, float, Vector2, Vector2, ref int, float, float, float, bool, ref Vector2, ref float, ref float, ref float[,])

public void Draw(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam, float timeStacker, Vector2 projPos, Vector2 camPos, ref int sprite, float upRotat, float errors, float fade, bool shakeErr, ref Vector2 pointsVec, ref float pointsWeight, ref float maxDist, ref float[,] directionsPower)

Parameters

sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
timeStacker float
projPos Vector2
camPos Vector2
sprite int
upRotat float
errors float
fade float
shakeErr bool
pointsVec Vector2
pointsWeight float
maxDist float
directionsPower float[,]

MultVec(Vector3, Vector3)

public Vector3 MultVec(Vector3 A, Vector3 B)

Parameters

A Vector3
B Vector3

Returns

Vector3

ResetUpdate(Vector2)

public void ResetUpdate(Vector2 v)

Parameters

v Vector2

Rotate(Vector3, float, float, float)

public Vector3 Rotate(Vector3 position, float urX, float urY, float urZ)

Parameters

position Vector3
urX float
urY float
urZ float

Returns

Vector3

SmoothPos(float)

public Vector3 SmoothPos(float timeStacker)

Parameters

timeStacker float

Returns

Vector3

SmoothRotat(float)

public float SmoothRotat(float timeStacker)

Parameters

timeStacker float

Returns

float

Update(bool, float, float, Vector2, float, ref float[,])

public void Update(bool changeLikely, float errors, float fade, Vector2 movement, float upRotat, ref float[,] directionsPower)

Parameters

changeLikely bool
errors float
fade float
movement Vector2
upRotat float
directionsPower float[,]