Packageaway3d.core.light
Classpublic class PointLight
InheritancePointLight Inheritance LightPrimitive

Point light primitive

Public Properties
 PropertyDefined by
 Inheritedambient : Number
Coefficient for the ambient light intensity.
LightPrimitive
 InheritedambientBitmap : BitmapData
Lightmap for ambient intensity.
LightPrimitive
 InheritedambientDiffuseBitmap : BitmapData
Combined lightmap for ambient and diffuse intensities.
LightPrimitive
 Inheritedblue : Number
Blue component level.
LightPrimitive
 Inheriteddiffuse : Number
Coefficient for the diffuse light intensity.
LightPrimitive
 InheriteddiffuseBitmap : BitmapData
Lightmap for diffuse intensity.
LightPrimitive
 Inheritedgreen : Number
Green component level.
LightPrimitive
  light : PointLight3D
A reference to the PointLight3D object used by the light primitive.
PointLight
 Inheritedred : Number
Red component level.
LightPrimitive
 Inheritedspecular : Number
Coefficient for the specular light intensity.
LightPrimitive
 InheritedspecularBitmap : BitmapData
Lightmap for specular intensity.
LightPrimitive
  x : Number
The x coordinates of the PointLight3D object.
PointLight
  y : Number
The y coordinates of the PointLight3D object.
PointLight
  z : Number
The z coordinates of the PointLight3D object.
PointLight
Property detail
lightproperty
public var light:PointLight3D

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

xproperty 
public var x:Number

The x coordinates of the PointLight3D object.

yproperty 
public var y:Number

The y coordinates of the PointLight3D object.

zproperty 
public var z:Number

The z coordinates of the PointLight3D object.

Wiki link
Click to go to the wiki page for ####WIKI####

Code examples

Comments