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.

ImporterMaterial ImporterMaterial ImporterMaterial ImporterObject ImporterObject ImporterMaterial->ImporterObject ImporterObject_Virtuals ImporterObject_Virtuals ImporterObject->ImporterObject_Virtuals

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 )

Methods in detail

ImporterMaterial ( in ImporterMaterial other )

copy constructor


ImporterMaterial ( in String id, in String path )


ImporterMaterial ()

default constructor


ImporterMaterial ImporterMaterial.clone? ()

clone method


String ImporterMaterial.getShaderName? ( in ImporterContext context )


Ref<ImporterObject> ImporterMaterial.getTexture? ( in ImporterContext context, in String propertyName )


String ImporterMaterial.getTextureID? ( in ImporterContext context, in String propertyName )


ImporterMaterial.initialize! ( in String id, in String path, in String type )


Boolean ImporterMaterial.isTextureProperty? ( in ImporterContext context, in String propertyName )


ImporterMaterial.setShaderName! ( in String shaderName )


ImporterMaterial.setTexture! ( in String propertyName, in Ref<ImporterObject> texture )