MCPcopy Create free account
hub / github.com/jabbany/CommentCoreLibrary / box

Method box

src/scripting/api/Display/Transform.ts:126–132  ·  view source on GitHub ↗
(sX:number = 1, sY:number = 1, rot:number = 0, tX:number = 0, tY:number = 0)

Source from the content-addressed store, hash-verified

124 }
125
126 public box(sX:number = 1, sY:number = 1, rot:number = 0, tX:number = 0, tY:number = 0):void {
127 if (this._matrix) {
128 this._matrix.createBox(sX, sY, rot, tX, tY);
129 } else {
130 this.box3d(sX, sY, 1, 0, 0, rot, tX, tY, 0);
131 }
132 }
133
134 private update():void {
135 if (this._parent === null) {

Callers 1

_updateBoxMethod · 0.80

Calls 2

box3dMethod · 0.95
createBoxMethod · 0.80

Tested by

no test coverage detected