Class: PointLight2
Core-API.PointLight2
Hierarchy
PointLight
↳
PointLight2
Implements
Properties
assetType
• assetType: "light"
Implementation of
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
PointLight._stablePoses
_poseIndex
• Optional
_poseIndex: number
Inherited from
PointLight._poseIndex
_originalXform
• Optional
_originalXform: Matrix4
Inherited from
PointLight._originalXform
Accessors
lightObject
• get
lightObject(): PointLight2
Returns
Implementation of
modelObject
• get
modelObject(): PointLight2
Internal three.js Object3D instance (like Mesh, Group, etc)
Returns
Implementation of
uiConfig
• get
uiConfig(): UiObjectConfig
<any
, string
>
Returns
UiObjectConfig
<any
, string
>
Implementation of
Constructors
constructor
• new PointLight2(color?
, intensity?
, distance?
, decay?
)
Parameters
Name | Type |
---|---|
color? | string | number | Color |
intensity? | number |
distance? | number |
decay? | number |
Overrides
PointLight.constructor
Methods
copy
▸ copy(source
, recursive?
): PointLight2
Parameters
Name | Type |
---|---|
source | PointLight2 |
recursive? | boolean |
Returns
Overrides
PointLight.copy
toJSON
▸ toJSON(meta?
): any
Parameters
Name | Type |
---|---|
meta? | any |
Returns
any
Overrides
PointLight.toJSON
fromJSON
▸ fromJSON(data
, meta?
): null
| PointLight2
Parameters
Name | Type |
---|---|
data | any |
meta? | any |
Returns
null
| PointLight2