Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions src/framework/components/light/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -530,8 +530,9 @@ class LightComponent extends Component {
}

/**
* Sets the angle at which the spotlight cone starts to fade off. The angle is specified in
* degrees. Affects spot lights only. Defaults to 40.
* Sets the half-angle (measured in degrees from the light's direction axis to the cone edge)
* at which the spotlight cone starts to fade off. The full inner beam angle is twice this
* value. Affects spot lights only. Defaults to 40 (i.e. an 80-degree full inner beam).
*
* @type {number}
*/
Expand All @@ -542,7 +543,8 @@ class LightComponent extends Component {
}

/**
* Gets the angle at which the spotlight cone starts to fade off.
* Gets the half-angle (measured in degrees from the light's direction axis to the cone edge)
* at which the spotlight cone starts to fade off.
*
* @type {number}
*/
Expand All @@ -551,8 +553,9 @@ class LightComponent extends Component {
}

/**
* Sets the angle at which the spotlight cone has faded to nothing. The angle is specified in
* degrees. Affects spot lights only. Defaults to 45.
* Sets the half-angle (measured in degrees from the light's direction axis to the cone edge)
* at which the spotlight cone has faded to nothing. The full outer beam angle is twice this
* value. Affects spot lights only. Defaults to 45 (i.e. a 90-degree full outer beam).
*
* @type {number}
*/
Expand All @@ -563,7 +566,8 @@ class LightComponent extends Component {
}

/**
* Gets the angle at which the spotlight cone has faded to nothing.
* Gets the half-angle (measured in degrees from the light's direction axis to the cone edge)
* at which the spotlight cone has faded to nothing.
*
* @type {number}
*/
Expand Down