Packagealternativa.engine3d.materials
Classpublic class NormalMapSpace
InheritanceNormalMapSpace Inheritance Object

NormalMapSpace offers constant values that can be used for the normalMapSpace property of materials which use normal map.

See also

StandardMaterial.normalMapSpace


Public Constants
 ConstantDefined By
  OBJECT : int = 2
[static] Normal map defined in object space.
NormalMapSpace
  TANGENT_LEFT_HANDED : int = 1
[static] Normal map defined in surface space, y-axis oriented on bottom.
NormalMapSpace
  TANGENT_RIGHT_HANDED : int = 0
[static] Normal map defined in surface space, y-axis oriented on top.
NormalMapSpace
Constant Detail
OBJECTConstant
public static const OBJECT:int = 2

Normal map defined in object space.

TANGENT_LEFT_HANDEDConstant 
public static const TANGENT_LEFT_HANDED:int = 1

Normal map defined in surface space, y-axis oriented on bottom.

TANGENT_RIGHT_HANDEDConstant 
public static const TANGENT_RIGHT_HANDED:int = 0

Normal map defined in surface space, y-axis oriented on top.