Assimp  v3.1.1 (June 2014)
jassimp.AiLightType Enum Reference

List of light types supported by AiLight. More...

Static Public Member Functions

static AiLightType fromRawValue (int rawValue)
 Utility method for converting from c/c++ based integer enums to java enums. More...
 

Public Attributes

 AMBIENT =(0x4)
 The generic light level of the world, including the bounces of all other lightsources. More...
 
 DIRECTIONAL =(0x1)
 A directional light source. More...
 
 POINT =(0x2)
 A point light source. More...
 
 SPOT =(0x3)
 A spot light source. More...
 

Detailed Description

List of light types supported by AiLight.

Member Function Documentation

static AiLightType jassimp.AiLightType.fromRawValue ( int  rawValue)
inlinestatic

Utility method for converting from c/c++ based integer enums to java enums.

This method is intended to be used from JNI and my change based on implementation needs.

Parameters
rawValuean integer based enum value (as defined by assimp)
Returns
the enum value corresponding to rawValue

Member Data Documentation

jassimp.AiLightType.AMBIENT =(0x4)

The generic light level of the world, including the bounces of all other lightsources.

Typically, there's at most one ambient light in a scene. This light type doesn't have a valid position, direction, or other properties, just a color.

jassimp.AiLightType.DIRECTIONAL =(0x1)

A directional light source.

A directional light has a well-defined direction but is infinitely far away. That's quite a good approximation for sun light.

jassimp.AiLightType.POINT =(0x2)

A point light source.

A point light has a well-defined position in space but no direction - it emits light in all directions. A normal bulb is a point light.

jassimp.AiLightType.SPOT =(0x3)

A spot light source.

A spot light emits light in a specific angle. It has a position and a direction it is pointing to. A good example for a spot light is a light spot in sport arenas.


The documentation for this enum was generated from the following file: