Material Interface Reference

Information about a material. More...


Detailed Description

Information about a material.


import "color.proto";

message Material
{
  enum ShaderType 
  {
    VERTEX                  = 1; 
    PIXEL                   = 2; 
    NORMAL_MAP_OBJECT_SPACE = 3; 
    NORMAL_MAP_TANGENT_SPACE = 4;
  }

  optional string script          = 1;
  optional ShaderType shader_type = 2;
  optional string normal_map      = 3;
  optional Color ambient          = 4;
  optional Color diffuse          = 5;
  optional Color specular         = 6;
  optional Color emissive         = 7;
}
/// 

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