Example usage for javax.media.j3d Light ALLOW_INFLUENCING_BOUNDS_WRITE

List of usage examples for javax.media.j3d Light ALLOW_INFLUENCING_BOUNDS_WRITE

Introduction

In this page you can find the example usage for javax.media.j3d Light ALLOW_INFLUENCING_BOUNDS_WRITE.

Prototype

int ALLOW_INFLUENCING_BOUNDS_WRITE

To view the source code for javax.media.j3d Light ALLOW_INFLUENCING_BOUNDS_WRITE.

Click Source Link

Document

Specifies that this Light allows write access to its influencing bounds and bounds leaf information.

Usage

From source file:LightTest.java

protected int[] getCapabilities() {
    int[] caps = new int[8];
    int nIndex = 0;

    caps[nIndex++] = Light.ALLOW_COLOR_READ;
    caps[nIndex++] = Light.ALLOW_COLOR_WRITE;
    caps[nIndex++] = Light.ALLOW_INFLUENCING_BOUNDS_READ;
    caps[nIndex++] = Light.ALLOW_INFLUENCING_BOUNDS_WRITE;
    caps[nIndex++] = Light.ALLOW_SCOPE_READ;
    caps[nIndex++] = Light.ALLOW_SCOPE_WRITE;
    caps[nIndex++] = Light.ALLOW_STATE_READ;
    caps[nIndex++] = Light.ALLOW_STATE_WRITE;

    return caps;//from  w w w  .j  ava 2 s.  c om
}