Package | away3d.materials.lightpickers |
Class | public class LightPickerBase |
Inheritance | LightPickerBase flash.events.EventDispatcher |
Subclasses | StaticLightPicker |
Property | Defined By | ||
---|---|---|---|
allPickedLights : Vector.<LightBase> [read-only] | LightPickerBase | ||
directionalLights : Vector.<DirectionalLight> [read-only] | LightPickerBase | ||
lightProbes : Vector.<LightProbe> [read-only] | LightPickerBase | ||
lightProbeWeights : Vector.<Number> [read-only] | LightPickerBase | ||
name : String | LightPickerBase | ||
numDirectionalLights : uint [read-only]
The maximum amount of directional lights that will be provided
| LightPickerBase | ||
numLightProbes : uint [read-only]
The maximum amount of light probes that will be provided
| LightPickerBase | ||
numPointLights : uint [read-only]
The maximum amount of point lights that will be provided
| LightPickerBase | ||
pointLights : Vector.<PointLight> [read-only] | LightPickerBase |
Property | Defined By | ||
---|---|---|---|
_allPickedLights : Vector.<LightBase> | LightPickerBase | ||
_directionalLights : Vector.<DirectionalLight> | LightPickerBase | ||
_lightProbes : Vector.<LightProbe> | LightPickerBase | ||
_lightProbeWeights : Vector.<Number> | LightPickerBase | ||
_numDirectionalLights : uint | LightPickerBase | ||
_numLightProbes : uint | LightPickerBase | ||
_numPointLights : uint | LightPickerBase | ||
_pointLights : Vector.<PointLight> | LightPickerBase |
Method | Defined By | ||
---|---|---|---|
Updates set of lights for a given renderable and EntityCollector. | LightPickerBase |
_allPickedLights | property |
protected var _allPickedLights:Vector.<LightBase>
_directionalLights | property |
protected var _directionalLights:Vector.<DirectionalLight>
_lightProbes | property |
protected var _lightProbes:Vector.<LightProbe>
_lightProbeWeights | property |
protected var _lightProbeWeights:Vector.<Number>
_numDirectionalLights | property |
protected var _numDirectionalLights:uint
_numLightProbes | property |
protected var _numLightProbes:uint
_numPointLights | property |
protected var _numPointLights:uint
_pointLights | property |
protected var _pointLights:Vector.<PointLight>
allPickedLights | property |
allPickedLights:Vector.<LightBase>
[read-only] public function get allPickedLights():Vector.<LightBase>
directionalLights | property |
directionalLights:Vector.<DirectionalLight>
[read-only] public function get directionalLights():Vector.<DirectionalLight>
lightProbes | property |
lightProbes:Vector.<LightProbe>
[read-only] public function get lightProbes():Vector.<LightProbe>
lightProbeWeights | property |
lightProbeWeights:Vector.<Number>
[read-only] public function get lightProbeWeights():Vector.<Number>
name | property |
public var name:String
numDirectionalLights | property |
numDirectionalLights:uint
[read-only] The maximum amount of directional lights that will be provided
public function get numDirectionalLights():uint
numLightProbes | property |
numLightProbes:uint
[read-only] The maximum amount of light probes that will be provided
public function get numLightProbes():uint
numPointLights | property |
numPointLights:uint
[read-only] The maximum amount of point lights that will be provided
public function get numPointLights():uint
pointLights | property |
pointLights:Vector.<PointLight>
[read-only] public function get pointLights():Vector.<PointLight>
collectLights | () | method |
public function collectLights(renderable:IRenderable, entityCollector:EntityCollector):void
Updates set of lights for a given renderable and EntityCollector. Always call super.collectLights() after custom overridden code.
Parameters
renderable:IRenderable | |
entityCollector:EntityCollector |