Class McEdGetPointWorldDrawObject
Hierarchy
- McEdGetPointWorldDrawObject
Indexable
[x: string]: any
Properties
Private _McEdGetPointWorldDraw
Methods
drawCircle
- drawCircle(cen: Vector3, dRadius: number): void
Parameters
cen: Vector3
dRadius: number
Returns void
drawCustomEntity
- drawCustomEntity(ent: any, renderOrder?: number): void
Parameters
ent: any
Optional renderOrder: number
Returns void
drawEntity
- drawEntity(ent: null | Object3D, renderOrder?: number): void
Parameters
ent: null | Object3D
Optional renderOrder: number
Returns void
drawLine
- drawLine(pt1: Vector3, pt2: Vector3): void
drawMcDbEntity
- drawMcDbEntity(mcdbEntity: any): any
drawMcDbLine
- drawMcDbLine(x1: number, y1: number, z1: number, x2: number, y2: number, z2: number): any
Parameters
x1: number
y1: number
z1: number
x2: number
y2: number
z2: number
Returns any
drawRect
- drawRect(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
getColor
- getColor(): string | number | Color
Returns string | number | Color
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 用于构建一个动态绘制回调对象