| Package | away3d.materials.lightpickers |
| Class | public class LightPickerBase |
| Inheritance | LightPickerBase NamedAssetBase flash.events.EventDispatcher |
| Implements | IAsset |
| Subclasses | StaticLightPicker |
| Property | Defined By | ||
|---|---|---|---|
| allPickedLights : Vector.<LightBase> [read-only] | LightPickerBase | ||
![]() | assetFullPath : Array [read-only] | NamedAssetBase | |
![]() | assetNamespace : String [read-only] | NamedAssetBase | |
| assetType : String [read-only] | LightPickerBase | ||
| castingDirectionalLights : Vector.<DirectionalLight> [read-only] | LightPickerBase | ||
| castingPointLights : Vector.<PointLight> [read-only] | LightPickerBase | ||
| directionalLights : Vector.<DirectionalLight> [read-only] | LightPickerBase | ||
| lightProbes : Vector.<LightProbe> [read-only] | LightPickerBase | ||
| lightProbeWeights : Vector.<Number> [read-only] | LightPickerBase | ||
![]() | name : String | NamedAssetBase | |
| numCastingDirectionalLights : uint [read-only]
The maximum amount of directional lights that cast shadows
| LightPickerBase | ||
| numCastingPointLights : uint [read-only]
The amount of point lights that cast shadows
| 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 | ||
![]() | originalName : String [read-only]
The original name used for this asset in the resource (e.g. | NamedAssetBase | |
| pointLights : Vector.<PointLight> [read-only] | LightPickerBase | ||
| Property | Defined By | ||
|---|---|---|---|
| _allPickedLights : Vector.<LightBase> | LightPickerBase | ||
| _castingDirectionalLights : Vector.<DirectionalLight> | LightPickerBase | ||
| _castingPointLights : Vector.<PointLight> | LightPickerBase | ||
| _directionalLights : Vector.<DirectionalLight> | LightPickerBase | ||
| _lightProbes : Vector.<LightProbe> | LightPickerBase | ||
| _lightProbeWeights : Vector.<Number> | LightPickerBase | ||
| _numCastingDirectionalLights : uint | LightPickerBase | ||
| _numCastingPointLights : uint | LightPickerBase | ||
| _numDirectionalLights : uint | LightPickerBase | ||
| _numLightProbes : uint | LightPickerBase | ||
| _numPointLights : uint | LightPickerBase | ||
| _pointLights : Vector.<PointLight> | LightPickerBase | ||
| Method | Defined By | ||
|---|---|---|---|
| LightPickerBase | |||
![]() | assetPathEquals(name:String, ns:String):Boolean | NamedAssetBase | |
Updates set of lights for a given renderable and EntityCollector. | LightPickerBase | ||
dispose():void | LightPickerBase | ||
![]() | resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void | NamedAssetBase | |
| _allPickedLights | property |
protected var _allPickedLights:Vector.<LightBase>| _castingDirectionalLights | property |
protected var _castingDirectionalLights:Vector.<DirectionalLight>| _castingPointLights | property |
protected var _castingPointLights:Vector.<PointLight>| _directionalLights | property |
protected var _directionalLights:Vector.<DirectionalLight>| _lightProbes | property |
protected var _lightProbes:Vector.<LightProbe>| _lightProbeWeights | property |
protected var _lightProbeWeights:Vector.<Number>| _numCastingDirectionalLights | property |
protected var _numCastingDirectionalLights:uint| _numCastingPointLights | property |
protected var _numCastingPointLights:uint| _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>| assetType | property |
assetType:String [read-only] public function get assetType():String| castingDirectionalLights | property |
castingDirectionalLights:Vector.<DirectionalLight> [read-only] public function get castingDirectionalLights():Vector.<DirectionalLight>| castingPointLights | property |
castingPointLights:Vector.<PointLight> [read-only] public function get castingPointLights():Vector.<PointLight>| 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>| numCastingDirectionalLights | property |
numCastingDirectionalLights:uint [read-only] The maximum amount of directional lights that cast shadows
public function get numCastingDirectionalLights():uint| numCastingPointLights | property |
numCastingPointLights:uint [read-only] The amount of point lights that cast shadows
public function get numCastingPointLights():uint| 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>| LightPickerBase | () | Constructor |
public function LightPickerBase()| collectLights | () | method |
public function collectLights(renderable:IRenderable, entityCollector:EntityCollector):voidUpdates set of lights for a given renderable and EntityCollector. Always call super.collectLights() after custom overridden code.
Parameters
renderable:IRenderable | |
entityCollector:EntityCollector |
| dispose | () | method |
public function dispose():void