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

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

Introduction

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

The text is from its open source code.

Field

intALLOW_IMAGE_READ
Specifies that the Background allows read access to its image at runtime.
intALLOW_IMAGE_WRITE
Specifies that the Background allows write access to its image at runtime.
intALLOW_COLOR_READ
Specifies that the Background allows read access to its color at runtime.
intALLOW_COLOR_WRITE
Specifies that the Background allows write access to its color at runtime.
intALLOW_IMAGE_SCALE_MODE_READ
Specifies that the Background allows read access to its image scale mode at runtime.
intALLOW_IMAGE_SCALE_MODE_WRITE
Specifies that the Background allows write access to its image scale mode at runtime.
intSCALE_FIT_ALL
Indicates that the background image is scaled to fit the window.

Constructor

Background(Color3f color)
Constructs a Background node with the specified color.
Background(ImageComponent2D image)
Constructs a Background node with the specified image.
Background(BranchGroup branch)
Constructs a Background node with the specified geometry.
Background()
Constructs a Background node with default parameters.
Background(float r, float g, float b)
Constructs a Background node with the specified color.

Method

voidsetApplicationBounds(Bounds region)
Set the Background's application region to the specified bounds.
voidsetColor(float r, float g, float b)
Sets the background color to the specified color.
voidsetColor(Color3f color)
Sets the background color to the specified color.
voidsetGeometry(BranchGroup branch)
Sets the background geometry to the specified BranchGroup node.