Properties
Protected _UIElement
_UIElement: boolean = false
cellSize
cellSize: number[]
height
height: number = 100
Protected hidden
hidden: boolean = false
loaded
loaded: boolean = false
matrix
matrix: number[] = unit()
Protected maxBaseSize
max
BaseSize: Vector3 = new Vector3(0, 0, 0)
Protected maxSize
max
Size: Vector3 = new Vector3(0, 0, 0)
Protected minBaseSize
min
BaseSize: Vector3 = new Vector3(0, 0, 0)
Protected minSize
min
Size: Vector3 = new Vector3(0, 0, 0)
Private movingMatrix
movingMatrix: number[] = []
name
name: string = "Just a rect :)"
normals
normals: number[] = []
normalsBuffer
normalsBuffer: WebGLBuffer | null = null
rotation
rotation
: Vector3 = new Vector3(0, 0, 0)
rotationInDeg
rotation
InDeg: Vector3 = new Vector3(0, 0, 0)
rotationMatrix
rotationMatrix: number[] = unit()
rotationPoint
rotation
Point: Vector3 = new Vector3(0, 0, 0)
Protected rotationPointPos
rotationPointPos: string | null = null
rotationSelf
rotation
Self: Vector3 = new Vector3(0, 0, 0)
scaling
scaling
: Vector3 = new Vector3(1, 1, 1)
selectable
selectable: boolean = false
textureCoordinates
textureCoordinates: number[] = []
textureCoordinatesBuffer
textureCoordinatesBuffer: WebGLBuffer | null = null
uiMatrix
uiMatrix: number[] | null = null
vertexes
vertexes: number[] = []
vertexesBuffer
vertexesBuffer: WebGLBuffer | null = null
verticalAlign
verticalAlign: boolean = true
Protected webgl
webgl: WebGLRenderingContext
width
width: number = 100
worldMatrix
worldMatrix: number[] = unit()
Rect for using custom shaders