Class: AmbientLight2
Core-API.AmbientLight2
Hierarchy
AmbientLight
↳
AmbientLight2
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
AmbientLight._stablePoses
_poseIndex
• Optional
_poseIndex: number
Inherited from
AmbientLight._poseIndex
_originalXform
• Optional
_originalXform: Matrix4
Inherited from
AmbientLight._originalXform
Accessors
lightObject
• get
lightObject(): AmbientLight2
Returns
Implementation of
modelObject
• get
modelObject(): AmbientLight2
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 AmbientLight2(color?
, intensity?
)
Parameters
Name | Type |
---|---|
color? | string | number | Color |
intensity? | number |
Overrides
AmbientLight.constructor
Methods
copy
▸ copy(source
, recursive?
): AmbientLight2
Parameters
Name | Type |
---|---|
source | AmbientLight2 |
recursive? | boolean |
Returns
Overrides
AmbientLight.copy
toJSON
▸ toJSON(meta?
): any
Parameters
Name | Type |
---|---|
meta? | any |
Returns
any
Overrides
AmbientLight.toJSON
fromJSON
▸ fromJSON(data
, meta?
): null
| AmbientLight2
Parameters
Name | Type |
---|---|
data | any |
meta? | any |
Returns
null
| AmbientLight2