class HemisphericLight extends Light
Creates a HemisphericLight object in the scene according to the passed direction (Vector3).
The HemisphericLight simulates the ambient environment light, so the passed direction is the light reflection direction, not the incoming direction.
The HemisphericLight can't cast shadows.
Documentation : http://doc.babylonjs.com/tutorials/lights
Name | Type | Description | |
---|---|---|---|
name | string | ||
direction | Vector3 | ||
scene | Scene |
Returns the string "HemisphericLight".
Sets the HemisphericLight direction towards the passed target (Vector3).
Returns the updated direction.
Name | Type | Description | |
---|---|---|---|
target | Vector3 |
Sets the passed Effect object with the HemisphericLight normalized direction and color and the passed name (string).
Returns the HemisphericLight.
Name | Type | Description | |
---|---|---|---|
effect | Effect | ||
lightIndex | string |
Returns the integer 3.