Class SoTextureCoordinateEnvironment

  • All Implemented Interfaces:
    SafeDisposable

    public class SoTextureCoordinateEnvironment
    extends SoTextureCoordinateFunction
    Node that specifies texture coordinates by projection from an environment. This node creates texture coordinates by projecting points on an object's surface to the interior of a surrounding sphere, along the reflection across the surface normal of the vector from the camera point to the surface. If the current texture image represents a spherical reflection map of the current surrounding environment, subsequent shapes will appear to reflect that environment.

    File format/default:

    TextureCoordinateEnvironment {

    }

    Action behavior:

    SoGLRenderAction, SoCallbackAction, SoRayPickAction
    Sets the current texture function in the state.

    See Also:
    SoTexture2, SoTexture2Transform, SoTextureCoordinateDefault, SoTextureCoordinatePlane
    • Constructor Detail

      • SoTextureCoordinateEnvironment

        public SoTextureCoordinateEnvironment()
        Creates a texture function node with default settings.