Example usage for javax.media.j3d SpotLight ALLOW_SPREAD_ANGLE_READ

List of usage examples for javax.media.j3d SpotLight ALLOW_SPREAD_ANGLE_READ

Introduction

In this page you can find the example usage for javax.media.j3d SpotLight ALLOW_SPREAD_ANGLE_READ.

Prototype

int ALLOW_SPREAD_ANGLE_READ

To view the source code for javax.media.j3d SpotLight ALLOW_SPREAD_ANGLE_READ.

Click Source Link

Document

Specifies that the Node allows reading its spot lights spread angle information.

Usage

From source file:LightTest.java

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

    int[] caps = { SpotLight.ALLOW_CONCENTRATION_READ, SpotLight.ALLOW_CONCENTRATION_WRITE,
            SpotLight.ALLOW_DIRECTION_READ, SpotLight.ALLOW_DIRECTION_WRITE, SpotLight.ALLOW_SPREAD_ANGLE_READ,
            SpotLight.ALLOW_SPREAD_ANGLE_WRITE };

    return createCompoundArray(superCaps, caps);
}