Class: SelectionWidget
Extra-Helpers.SelectionWidget
Hierarchy
Group
↳
SelectionWidget
Implements
IWidget
<Group
>
Properties
assetType
• assetType: "widget"
Implementation of
modelObject
• modelObject: SelectionWidget
Internal three.js Object3D instance (like Mesh, Group, etc)
Implementation of
boundingScaleMultiplier
• boundingScaleMultiplier: number
= 1.
setDirty
• Optional
setDirty: (options?
: AnyOptions
) => void
Type declaration
▸ (options?
): void
Parameters
Name | Type |
---|---|
options? | AnyOptions |
Returns
void
Implementation of
_stablePoses
• Optional
_stablePoses: { distance
: number
; faceNormal
: Vector3
; area
: number
; face
: Face
; maxEdgeLength
: number
; xform
: Matrix4
; edgePoint
: Vector3
}[]
Inherited from
Group._stablePoses
_poseIndex
• Optional
_poseIndex: number
Inherited from
Group._poseIndex
_originalXform
• Optional
_originalXform: Matrix4
Inherited from
Group._originalXform
_geometry
• Protected
Optional
_geometry: BufferGeometry
<NormalBufferAttributes
, BufferGeometryEventMap
>
Constructors
constructor
• new SelectionWidget()
Overrides
Group.constructor
Methods
setVisible
▸ setVisible(v
): void
Parameters
Name | Type |
---|---|
v | boolean |
Returns
void
attach
▸ attach(object
): SelectionWidget
Parameters
Name | Type |
---|---|
object | Object3D <Object3DEventMap > |
Returns
Implementation of
Overrides
Group.attach
detach
▸ detach(): SelectionWidget
Returns
Implementation of
_updater
▸ Protected
_updater(): void
Returns
void
_initGeometry
▸ Protected
_initGeometry(g
): void
Parameters
Name | Type |
---|---|
g | BufferGeometry <NormalBufferAttributes , BufferGeometryEventMap > |
Returns
void
Accessors
object
• get
object(): null
| Object3D
<Object3DEventMap
>
Returns
null
| Object3D
<Object3DEventMap
>