ImporterTexture.kl¶
Types¶
ImporterTexture (object)¶
The ImporterTexture represents an imported texture. The ImporterTexture provides access to file path of the texture as well as additional settings which may be used when rendering the texture.
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¶
ImporterTexture ( in ImporterTexture other ) | |
ImporterTexture ( in String id, in String path ) | |
ImporterTexture () | |
ImporterTexture | clone ? () |
Integer | getCropB ? ( in ImporterContext context ) |
Integer | getCropL ? ( in ImporterContext context ) |
Integer | getCropR ? ( in ImporterContext context ) |
Integer | getCropT ? ( in ImporterContext context ) |
String | getFilePath ? ( in ImporterContext context ) |
Scalar | getRotation ? ( in ImporterContext context ) |
Vec2 | getScale ? ( in ImporterContext context ) |
Boolean | getSwapUV ? ( in ImporterContext context ) |
Vec2 | getTranslation ? ( in ImporterContext context ) |
initialize ! ( in String id, in String path, in String type ) | |
setCropB ! ( in Integer cropB ) | |
setCropL ! ( in Integer cropL ) | |
setCropR ! ( in Integer cropR ) | |
setCropT ! ( in Integer cropT ) | |
setFilePath ! ( in String filePath ) | |
setRotation ! ( in Scalar rotation ) | |
setScale ! ( in Vec2 scale ) | |
setSwapUV ! ( in Boolean swapUV ) | |
setTranslation ! ( in Vec2 translation ) |