Properties
Protected _UIElement
_UIElement: boolean = false
Private _drawingMode
_drawingMode: number
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)
name
name: string = "Just entity :)"
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
worldMatrix
worldMatrix: number[] = unit()
Function to compile object from text of .obj file.