Example usage for javax.media.j3d Light ALLOW_STATE_READ

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

Introduction

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

Prototype

int ALLOW_STATE_READ

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

Click Source Link

Document

Specifies that this Light allows read access to its current state information at runtime.

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 a v  a  2 s.c o  m
}