@kognifai/cogsengine
    Preparing search index...

    Enumeration LightTypeConst

    Defines light types.

    Index

    Enumeration Members

    Enumeration Members

    Directional: 0

    Directional light. A directional light source has no position and has the same incoming light direction for all geometry in the scene.

    Point: 1

    Point light source. Light emitted from a single point in space equally in all directions.

    Spot: 2

    Spot light source. Light emitted from a single point source, shining in a given direction with falloff as the angle to the light varies.