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

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

Introduction

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

The text is from its open source code.

Field

intALLOW_SPREAD_ANGLE_WRITE
Specifies that the Node allows writing to its spot lights spread angle information.
intALLOW_SPREAD_ANGLE_READ
Specifies that the Node allows reading its spot lights spread angle information.
intALLOW_CONCENTRATION_WRITE
Specifies that the Node allows writing to its spot lights concentration information.
intALLOW_CONCENTRATION_READ
Specifies that the Node allows reading its spot lights concentration information.
intALLOW_DIRECTION_WRITE
Specifies that the Node allows writing to its spot lights direction information.
intALLOW_DIRECTION_READ
Specifies that the Node allows reading its spot lights direction information.

Constructor

SpotLight()
Constructs a SpotLight node with default parameters.
SpotLight(Color3f color, Point3f position, Point3f attenuation, Vector3f direction, float spreadAngle, float concentration)
Constructs and initializes a SpotLight node using the specified parameters.

Method

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.
voidsetConcentration(float concentration)
Sets spot light concentration.
voidsetDirection(Vector3f direction)
Sets this Light's current direction and places it in the parameter specified.
voidsetInfluencingBounds(Bounds region)
Sets the Light's influencing region to the specified bounds.
voidsetPosition(Point3f position)
Set light position.
voidsetSpreadAngle(float spreadAngle)
Sets spot light spread angle.