Packageaway3d.materials.lightpickers
Classpublic class LightPickerBase
InheritanceLightPickerBase Inheritance flash.events.EventDispatcher
Subclasses StaticLightPicker



Public Properties
 PropertyDefined 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
Protected Properties
 PropertyDefined 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
Public Methods
 MethodDefined By
  
collectLights(renderable:IRenderable, entityCollector:EntityCollector):void
Updates set of lights for a given renderable and EntityCollector.
LightPickerBase
Property Detail
_allPickedLightsproperty
protected var _allPickedLights:Vector.<LightBase>

_directionalLightsproperty 
protected var _directionalLights:Vector.<DirectionalLight>

_lightProbesproperty 
protected var _lightProbes:Vector.<LightProbe>

_lightProbeWeightsproperty 
protected var _lightProbeWeights:Vector.<Number>

_numDirectionalLightsproperty 
protected var _numDirectionalLights:uint

_numLightProbesproperty 
protected var _numLightProbes:uint

_numPointLightsproperty 
protected var _numPointLights:uint

_pointLightsproperty 
protected var _pointLights:Vector.<PointLight>

allPickedLightsproperty 
allPickedLights:Vector.<LightBase>  [read-only]


Implementation
    public function get allPickedLights():Vector.<LightBase>
directionalLightsproperty 
directionalLights:Vector.<DirectionalLight>  [read-only]


Implementation
    public function get directionalLights():Vector.<DirectionalLight>
lightProbesproperty 
lightProbes:Vector.<LightProbe>  [read-only]


Implementation
    public function get lightProbes():Vector.<LightProbe>
lightProbeWeightsproperty 
lightProbeWeights:Vector.<Number>  [read-only]


Implementation
    public function get lightProbeWeights():Vector.<Number>
nameproperty 
public var name:String

numDirectionalLightsproperty 
numDirectionalLights:uint  [read-only]

The maximum amount of directional lights that will be provided


Implementation
    public function get numDirectionalLights():uint
numLightProbesproperty 
numLightProbes:uint  [read-only]

The maximum amount of light probes that will be provided


Implementation
    public function get numLightProbes():uint
numPointLightsproperty 
numPointLights:uint  [read-only]

The maximum amount of point lights that will be provided


Implementation
    public function get numPointLights():uint
pointLightsproperty 
pointLights:Vector.<PointLight>  [read-only]


Implementation
    public function get pointLights():Vector.<PointLight>
Method Detail
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