Packageaway3d.core.light
Classpublic class LightPrimitive
SubclassesAmbientLight, DirectionalLight, PointLight

Abstract light primitve.

Public Properties
 PropertyDefined by
  ambient : Number
Coefficient for the ambient light intensity.
LightPrimitive
  ambientBitmap : BitmapData
Lightmap for ambient intensity.
LightPrimitive
  ambientDiffuseBitmap : BitmapData
Combined lightmap for ambient and diffuse intensities.
LightPrimitive
  blue : Number
Blue component level.
LightPrimitive
  diffuse : Number
Coefficient for the diffuse light intensity.
LightPrimitive
  diffuseBitmap : BitmapData
Lightmap for diffuse intensity.
LightPrimitive
  fallOff : Number
falloff radius of the light.
LightPrimitive
  green : Number
Green component level.
LightPrimitive
  light : AbstractLight
A reference to the ILightProvider object used by the light primitive.
LightPrimitive
  radius : Number
radius of the light.
LightPrimitive
  red : Number
Red component level.
LightPrimitive
  specular : Number
Coefficient for the specular light intensity.
LightPrimitive
  specularBitmap : BitmapData
Lightmap for specular intensity.
LightPrimitive
Property detail
ambientproperty
public var ambient:Number

Coefficient for the ambient light intensity.

ambientBitmapproperty 
public var ambientBitmap:BitmapData

Lightmap for ambient intensity.

ambientDiffuseBitmapproperty 
public var ambientDiffuseBitmap:BitmapData

Combined lightmap for ambient and diffuse intensities.

blueproperty 
public var blue:Number

Blue component level.

diffuseproperty 
public var diffuse:Number

Coefficient for the diffuse light intensity.

diffuseBitmapproperty 
public var diffuseBitmap:BitmapData

Lightmap for diffuse intensity.

fallOffproperty 
public var fallOff:Number

falloff radius of the light.

greenproperty 
public var green:Number

Green component level.

lightproperty 
public var light:AbstractLight

A reference to the ILightProvider object used by the light primitive.

radiusproperty 
public var radius:Number

radius of the light.

redproperty 
public var red:Number

Red component level.

specularproperty 
public var specular:Number

Coefficient for the specular light intensity.

specularBitmapproperty 
public var specularBitmap:BitmapData

Lightmap for specular intensity.

Wiki link
Click to go to the wiki page for 'away3d.core.light.LightPrimitive'

Code examples

Comments