Example usage for Java javax.media.j3d PointLight fields, constructors, methods, implement or subclass
The text is from its open source code.
int | ALLOW_POSITION_READ Specifies that this PointLight node allows reading its position information. |
int | ALLOW_POSITION_WRITE Specifies that this PointLight node allows writing its position information. |
int | ALLOW_ATTENUATION_READ Specifies that this PointLight node allows reading its attenuation information. |
int | ALLOW_ATTENUATION_WRITE Specifies that this PointLight node allows writing its attenuation information. |
PointLight(Color3f color, Point3f position, Point3f attenuation) Constructs and initializes a point light. | |
PointLight() Constructs a PointLight node with default parameters. | |
PointLight(boolean lightOn, Color3f color, Point3f position, Point3f attenuation) Constructs and initializes a point light. |
void | addScope(Group scope) Appends the specified Group node to this Light node's list of scopes. |
Bounds | getInfluencingBounds() Retrieves the Light node's influencing bounds. |
void | setCapability(int bit) Sets the specified capability bit. |
void | setColor(Color3f color) Sets the Light's current color. |
void | setInfluencingBounds(Bounds region) Sets the Light's influencing region to the specified bounds. |
void | setPosition(float x, float y, float z) Set light position. |
void | setPosition(Point3f position) Set light position. |