Methods
Static DrawArrow
- DrawArrow(pt0, pt1, color?, duration?, depthTest?, wireframe?): void
Parameters
- pt0: Vec3
- pt1: Vec3
- color: ColorRepresentation = defaultColor
- duration: number = 0
- depthTest: boolean = true
- wireframe: boolean = false
Returns void
Static DrawBox
- DrawBox(center, size, color?, duration?, depthTest?): void
Parameters
- center: Vec3
- size: Vec3
- color: ColorRepresentation = defaultColor
- duration: number = 0
- depthTest: boolean = true
Returns void
Static DrawBox3
- DrawBox3(box, color?, duration?, depthTest?): void
Parameters
- box: Box3
- color: ColorRepresentation = defaultColor
- duration: number = 0
- depthTest: boolean = true
Returns void
Static DrawDirection
- DrawDirection(pt, direction, color?, duration?, depthTest?, lengthFactor?): void
Parameters
- pt: Vec3
- direction: Vec3 | Vec4
- color: ColorRepresentation = defaultColor
- duration: number = 0
- depthTest: boolean = true
- lengthFactor: number = 1
Returns void
Static DrawLine
- DrawLine(pt0, pt1, color?, duration?, depthTest?): void
Parameters
- pt0: Vec3
- pt1: Vec3
- color: ColorRepresentation = defaultColor
- duration: number = 0
- depthTest: boolean = true
Returns void
Static DrawRay
- DrawRay(origin, dir, color?, duration?, depthTest?): void
Parameters
- origin: Vec3
- dir: Vec3
- color: ColorRepresentation = defaultColor
- duration: number = 0
- depthTest: boolean = true
Returns void
Static DrawSphere
- DrawSphere(center, radius, color?, duration?, depthTest?): void
Parameters
- center: Vec3
- radius: number
- color: ColorRepresentation = defaultColor
- duration: number = 0
- depthTest: boolean = true
Returns void
Static DrawWireSphere
- DrawWireSphere(center, radius, color?, duration?, depthTest?): void
Parameters
- center: Vec3
- radius: number
- color: ColorRepresentation = defaultColor
- duration: number = 0
- depthTest: boolean = true
Returns void