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 ) |
Methods in detail¶
ImporterTexture ( in ImporterTexture other )
copy constructor
ImporterTexture ( in String id, in String path )
default constructor
ImporterTexture ImporterTexture.clone? ()
clone method
Integer ImporterTexture.getCropB? ( in ImporterContext context )
Integer ImporterTexture.getCropL? ( in ImporterContext context )
Integer ImporterTexture.getCropR? ( in ImporterContext context )
Integer ImporterTexture.getCropT? ( in ImporterContext context )
String ImporterTexture.getFilePath? ( in ImporterContext context )
Scalar ImporterTexture.getRotation? ( in ImporterContext context )
Vec2 ImporterTexture.getScale? ( in ImporterContext context )
Boolean ImporterTexture.getSwapUV? ( in ImporterContext context )
Vec2 ImporterTexture.getTranslation? ( in ImporterContext context )
ImporterTexture.initialize! ( in String id, in String path, in String type )
ImporterTexture.setCropB! ( in Integer cropB )
ImporterTexture.setCropL! ( in Integer cropL )
ImporterTexture.setCropR! ( in Integer cropR )
ImporterTexture.setCropT! ( in Integer cropT )
ImporterTexture.setFilePath! ( in String filePath )
ImporterTexture.setRotation! ( in Scalar rotation )
ImporterTexture.setScale! ( in Vec2 scale )
ImporterTexture.setSwapUV! ( in Boolean swapUV )
ImporterTexture.setTranslation! ( in Vec2 translation )