ImporterMaterial.kl

Types

ImporterMaterial (object)

The ImporterMaterial represents an imported material. The ImporterMaterial may store any number of properties. There is no prescribed rule for the property names since the materials might originate in very specialized rendering engines.

Members

Importer importer  
ImporterCallback callback  
String id  
UInt32 version  
Ref<ImporterObject> parentObject  
String path  
String type  
String[] curves  
ImporterProperty[String] properties  
ImporterProperty[String] propertyCaches  
Boolean[String] propertyConstant  
ImporterObjectMetaData metaData  
ImporterContext defaultContext  
ImporterObjectContexts lastContextsPerProperty  

Methods

  ImporterMaterial ( in ImporterMaterial other )
  ImporterMaterial ( in String id, in String path )
  ImporterMaterial ()
ImporterMaterial clone ? ()
String getShaderName ? ( in ImporterContext context )
Ref<ImporterObject> getTexture ? ( in ImporterContext context, in String propertyName )
String getTextureID ? ( in ImporterContext context, in String propertyName )
  initialize ! ( in String id, in String path, in String type )
Boolean isTextureProperty ? ( in ImporterContext context, in String propertyName )
  setShaderName ! ( in String shaderName )
  setTexture ! ( in String propertyName, in Ref<ImporterObject> texture )