Class McEdGetPointWorldDrawObject
Hierarchy
- McEdGetPointWorldDrawObject
Indexable
[x: string]: any
Methods
drawCircle
- drawCircle(cen: Vector3, dRadius: number): void
Parameters
cen: Vector3
dRadius: number
Returns void
drawCustomEntity
- drawCustomEntity(ent: any): void
drawEntity
- drawEntity(ent: null | Object3D): void
drawLine
- drawLine(pt1: Vector3, pt2: Vector3): void
drawText
- drawText(sText: string, iSize: number, dAngle: number, pt: Vector3): void
Parameters
sText: string
iSize: number
dAngle: number
pt: Vector3
Returns void
setColor
- setColor(iColor: string | number | Color): void
Parameters
iColor: string | number | Color
Returns void
setDraw
- setDraw(call: (currentPoint: Vector3, pWorldDraw?: any) => void): void
Parameters
call: (currentPoint: Vector3, pWorldDraw?: any) => void
- (currentPoint: Vector3, pWorldDraw?: any): void
Parameters
currentPoint: Vector3
Optional pWorldDraw: any
Returns void
Returns void
McEdGetPointWorldDrawObject 用于构建一个动态绘制回调对象