Java javax.media.j3d PointLight fields, constructors, methods, implement or subclass

Example usage for Java javax.media.j3d PointLight fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.media.j3d PointLight.

The text is from its open source code.

Field

intALLOW_POSITION_READ
Specifies that this PointLight node allows reading its position information.
intALLOW_POSITION_WRITE
Specifies that this PointLight node allows writing its position information.
intALLOW_ATTENUATION_READ
Specifies that this PointLight node allows reading its attenuation information.
intALLOW_ATTENUATION_WRITE
Specifies that this PointLight node allows writing its attenuation information.

Constructor

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.

Method

voidaddScope(Group scope)
Appends the specified Group node to this Light node's list of scopes.
BoundsgetInfluencingBounds()
Retrieves the Light node's influencing bounds.
voidsetCapability(int bit)
Sets the specified capability bit.
voidsetColor(Color3f color)
Sets the Light's current color.
voidsetInfluencingBounds(Bounds region)
Sets the Light's influencing region to the specified bounds.
voidsetPosition(float x, float y, float z)
Set light position.
voidsetPosition(Point3f position)
Set light position.