ImporterShape.kl

Types

ImporterShape (object)

The ImporterShape represents an imported shape. The ImporterShape provides access to the underlying Geometry, the bounds as well as to the ImporterMaterial array used for the shape.

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  
Boolean transformSetOnce  
Mat44 mergeInvMat  
Ref<ImporterObject>[] mergedShapes  

Methods

  ImporterShape ( in ImporterShape other )
  ImporterShape ( in String id, in String path )
  ImporterShape ()
  addMaterial ! ( in String material )
ImporterShape clone ? ()
  cloneMembersTo ? ( io ImporterShape other )
Box3 getBounds ? ( in ImporterContext context )
Boolean getCollisionEnabled ? ( in ImporterContext context )
Geometry getGeometry ? ( in ImporterContext context )
Integer getGeometryType ? ( in ImporterContext context )
UInt32 getMaterialCount ? ( in ImporterContext context )
Ref<ImporterObject>[] getMaterials ? ( in ImporterContext context )
  initialize ! ( in String id, in String path, in String type )
Boolean setAsMerged ! ( in Ref<ImporterObject> shapes[] )
  setBounds ! ( in Box3 bounds )
  setCollisionEnabled ! ( in Boolean collisionEnabled )
  setGeometry ! ( in Geometry geometry )
  setGeometryType ! ( in Integer geoType )
  setMaterials ! ( in String materials[] )
Boolean updateProperty ! ( in String value, in ImporterContext context )