Example usage for javax.media.j3d PointLight ALLOW_ATTENUATION_READ

List of usage examples for javax.media.j3d PointLight ALLOW_ATTENUATION_READ

Introduction

In this page you can find the example usage for javax.media.j3d PointLight ALLOW_ATTENUATION_READ.

Prototype

int ALLOW_ATTENUATION_READ

To view the source code for javax.media.j3d PointLight ALLOW_ATTENUATION_READ.

Click Source Link

Document

Specifies that this PointLight node allows reading its attenuation information.

Usage

From source file:LightTest.java

protected int[] getCapabilities() {
    int[] superCaps = super.getCapabilities();

    int[] caps = { PointLight.ALLOW_ATTENUATION_READ, PointLight.ALLOW_ATTENUATION_WRITE,
            PointLight.ALLOW_POSITION_READ, PointLight.ALLOW_POSITION_WRITE };

    return createCompoundArray(superCaps, caps);
}