|
|
Inherits AssetBase, and AssetBase.
Methods | |
| bool | addExplicitCell (int cellOffsetX, int cellOffsetY, int cellWidth, int cellHeight) |
| bool | addExplicitCell (int cellOffsetX, int cellOffsetY, int cellWidth, int cellHeight) |
| bool | clearExplicitCells () |
| bool | clearExplicitCells () |
| int | getCellCountX () |
| int | getCellCountX () |
| int | getCellCountY () |
| int | getCellCountY () |
| int | getCellHeight () |
| int | getCellHeight () |
| int | getCellOffsetX () |
| int | getCellOffsetX () |
| int | getCellOffsetY () |
| int | getCellOffsetY () |
| bool | getCellRowOrder () |
| bool | getCellRowOrder () |
| int | getCellStrideX () |
| int | getCellStrideX () |
| int | getCellStrideY () |
| int | getCellStrideY () |
| int | getCellWidth () |
| int | getCellWidth () |
| int | getExplicitCellCount () |
| int | getExplicitCellCount () |
| string | getFilterMode () |
| string | getFilterMode () |
| bool | getForce16Bit () |
| bool | getForce16Bit () |
| int | getFrameCount () |
| int | getFrameCount () |
| string | getFrameSize (int frame) |
| string | getFrameSize (int frame) |
| string | getImageFile () |
| string | getImageFile () |
| int | getImageHeight () |
| int | getImageHeight () |
| string | getImageSize () |
| string | getImageSize () |
| int | getImageWidth () |
| int | getImageWidth () |
| bool | getIsImagePOT () |
| bool | getIsImagePOT () |
| bool | insertExplicitCell (int cellIndex, int cellOffsetX, int cellOffsetY, int cellWidth, int cellHeight) |
| bool | insertExplicitCell (int cellIndex, int cellOffsetX, int cellOffsetY, int cellWidth, int cellHeight) |
| bool | removeExplicitCell (int cellIndex) |
| bool | removeExplicitCell (int cellIndex) |
| void | setCellCountX (countX) |
| void | setCellCountX (countX) |
| void | setCellCountY (countY) |
| void | setCellCountY (countY) |
| void | setCellHeight (Height) |
| void | setCellHeight (Height) |
| void | setCellOffsetX (offsetX) |
| void | setCellOffsetX (offsetX) |
| void | setCellOffsetY (offsetY) |
| void | setCellOffsetY (offsetY) |
| void | setCellRowOrder (rowOrder?) |
| void | setCellRowOrder (rowOrder?) |
| void | setCellStrideX (strideX) |
| void | setCellStrideX (strideX) |
| void | setCellStrideY (strideY) |
| void | setCellStrideY (strideY) |
| void | setCellWidth (Width) |
| void | setCellWidth (Width) |
| bool | setExplicitCell (int cellIndex, int cellOffsetX, int cellOffsetY, int cellWidth, int cellHeight) |
| bool | setExplicitCell (int cellIndex, int cellOffsetX, int cellOffsetY, int cellWidth, int cellHeight) |
| void | setFilterMode (mode) |
| void | setFilterMode (mode) |
| void | setForce16Bit (force16Bit?) |
| void | setForce16Bit (force16Bit?) |
| void | setImageFile (ImageFile) |
| void | setImageFile (ImageFile) |
Methods inherited from AssetBase | |
| string | getAssetId () |
| string | getAssetId () |
| void | refreshAsset () |
| void | refreshAsset () |
Methods inherited from SimObject | |
| void | addFieldFilter (fieldName) |
| void | addFieldFilter (fieldName) |
| string | call (%args) |
| string | call (%args) |
| int | clone ([bool copyDynamicFields?=false]) |
| int | clone ([bool copyDynamicFields?=false]) |
| void | delete () |
| void | delete () |
| void | dump () |
| void | dump () |
| void | dumpClassHierarchy () |
| void | dumpClassHierarchy () |
| string | getClassName () |
| string | getClassName () |
| string | getClassNamespace () |
| string | getClassNamespace () |
| string | getDynamicField (index) |
| string | getDynamicField (index) |
| int | getDynamicFieldCount () |
| int | getDynamicFieldCount () |
| string | getField (int index) |
| string | getField (int index) |
| int | getFieldCount () |
| int | getFieldCount () |
| string | getFieldType (fieldName) |
| string | getFieldType (fieldName) |
| string | getFieldValue (fieldName) |
| string | getFieldValue (fieldName) |
| int | getGroup () |
| int | getGroup () |
| int | getId () |
| int | getId () |
| string | getInternalName () |
| string | getInternalName () |
| string | getName () |
| string | getName () |
| string | getProgenitorFile () |
| string | getProgenitorFile () |
| string | getSuperClassNamespace () |
| string | getSuperClassNamespace () |
| int | getType () |
| int | getType () |
| bool | isChildOfGroup () |
| bool | isChildOfGroup () |
| bool | isMemberOfClass (string classname) |
| bool | isMemberOfClass (string classname) |
| bool | isMethod (string method name) |
| bool | isMethod (string method name) |
| bool | isTimerActive () |
| bool | isTimerActive () |
| void | removeFieldFilter (fieldName) |
| void | removeFieldFilter (fieldName) |
| bool | save (fileName,[selectedOnly]) |
| bool | save (fileName,[selectedOnly]) |
| int | schedule (time, command,< arg1...argN >) |
| int | schedule (time, command,< arg1...argN >) |
| void | setClassNamespace () |
| void | setClassNamespace () |
| bool | setFieldValue (fieldName, value) |
| bool | setFieldValue (fieldName, value) |
| void | setInternalName () |
| void | setInternalName () |
| void | setName (newName) |
| void | setName (newName) |
| void | setProgenitorFile (file) |
| void | setProgenitorFile (file) |
| void | setSuperClassNamespace () |
| void | setSuperClassNamespace () |
| bool | startTimer (callbackFunction, float timePeriod,[repeat]) |
| bool | startTimer (callbackFunction, float timePeriod,[repeat]) |
| void | stopTimer () |
| void | stopTimer () |
Fields | |
| bool | AssetAutoUnload |
| string | AssetCategory |
| string | AssetDescription |
| bool | AssetInternal |
| string | AssetName |
| bool | AssetPrivate |
| int | CellCountX |
| int | CellCountY |
| int | CellHeight |
| int | CellOffsetX |
| int | CellOffsetY |
| bool | CellRowOrder |
| int | CellStrideX |
| int | CellStrideY |
| int | CellWidth |
| bool | ExplicitMode |
| enumval | FilterMode |
| bool | Force16bit |
| assetLooseFilePath | ImageFile |
SimBase | |
| bool | canSaveDynamicFields |
| string | internalName |
| SimObjectPtr | parentGroup |
Namespace Linking | |
| string | superclass |
| string | class |
Fields inherited from AssetBase | |
| bool | AssetAutoUnload |
| string | AssetCategory |
| string | AssetDescription |
| bool | AssetInternal |
| string | AssetName |
| bool | AssetPrivate |
| bool | canSaveDynamicFields |
| string | internalName |
| SimObjectPtr | parentGroup |
| string | superclass |
| string | class |
Fields inherited from SimObject | |
| bool | canSaveDynamicFields |
| string | internalName |
| SimObjectPtr | parentGroup |
| string | superclass |
| string | class |
| bool ImageAsset::addExplicitCell | ( | int | cellOffsetX, |
| int | cellOffsetY, | ||
| int | cellWidth, | ||
| int | cellHeight | ||
| ) |
Add an explicit cell.
| cellOffsetX | The offset in the X axis to the top-left of the cell. |
| cellOffsetY | The offset in the Y axis to the top-left of the cell. |
| cellWidth | The width of the cell. |
| cellHeight | The height of the cell. The image asset must be in explicit mode for this operation to succeed. |
| bool ImageAsset::addExplicitCell | ( | int | cellOffsetX, |
| int | cellOffsetY, | ||
| int | cellWidth, | ||
| int | cellHeight | ||
| ) |
Add an explicit cell.
| cellOffsetX | The offset in the X axis to the top-left of the cell. |
| cellOffsetY | The offset in the Y axis to the top-left of the cell. |
| cellWidth | The width of the cell. |
| cellHeight | The height of the cell. The image asset must be in explicit mode for this operation to succeed. |
| bool ImageAsset::clearExplicitCells | ( | ) |
Clears all explicit cells. The image asset stays in explicit mode however with no explicit cells a single full-frame cell becomes default.
| bool ImageAsset::clearExplicitCells | ( | ) |
Clears all explicit cells. The image asset stays in explicit mode however with no explicit cells a single full-frame cell becomes default.
| int ImageAsset::getCellCountX | ( | ) |
Gets the CELL count X.
| int ImageAsset::getCellCountX | ( | ) |
Gets the CELL count X.
| int ImageAsset::getCellCountY | ( | ) |
Gets the CELL count Y.
| int ImageAsset::getCellCountY | ( | ) |
Gets the CELL count Y.
| int ImageAsset::getCellHeight | ( | ) |
Gets the CELL height.
| int ImageAsset::getCellHeight | ( | ) |
Gets the CELL height.
| int ImageAsset::getCellOffsetX | ( | ) |
Gets the CELL offset X.
| int ImageAsset::getCellOffsetX | ( | ) |
Gets the CELL offset X.
| int ImageAsset::getCellOffsetY | ( | ) |
Gets the CELL offset Y.
| int ImageAsset::getCellOffsetY | ( | ) |
Gets the CELL offset Y.
| bool ImageAsset::getCellRowOrder | ( | ) |
Gets whether CELL row order should be used or not.
| bool ImageAsset::getCellRowOrder | ( | ) |
Gets whether CELL row order should be used or not.
| int ImageAsset::getCellStrideX | ( | ) |
Gets the CELL stride X.
| int ImageAsset::getCellStrideX | ( | ) |
Gets the CELL stride X.
| int ImageAsset::getCellStrideY | ( | ) |
Gets the CELL stride Y.
| int ImageAsset::getCellStrideY | ( | ) |
Gets the CELL stride Y.
| int ImageAsset::getCellWidth | ( | ) |
Gets the CELL width.
| int ImageAsset::getCellWidth | ( | ) |
Gets the CELL width.
| int ImageAsset::getExplicitCellCount | ( | ) |
Gets the explicit cell count.
| int ImageAsset::getExplicitCellCount | ( | ) |
Gets the explicit cell count.
| string ImageAsset::getFilterMode | ( | ) |
Gets the filter mode.
| string ImageAsset::getFilterMode | ( | ) |
Gets the filter mode.
| bool ImageAsset::getForce16Bit | ( | ) |
Gets whether 16-bit image is forced or not.
| bool ImageAsset::getForce16Bit | ( | ) |
Gets whether 16-bit image is forced or not.
| int ImageAsset::getFrameCount | ( | ) |
Gets the frame count.
| int ImageAsset::getFrameCount | ( | ) |
Gets the frame count.
| string ImageAsset::getFrameSize | ( | int | frame | ) |
| frame | The frame number to use. |
| string ImageAsset::getFrameSize | ( | int | frame | ) |
| frame | The frame number to use. |
| string ImageAsset::getImageFile | ( | ) |
Gets the image file.
| string ImageAsset::getImageFile | ( | ) |
Gets the image file.
| int ImageAsset::getImageHeight | ( | ) |
Gets the image height.
| int ImageAsset::getImageHeight | ( | ) |
Gets the image height.
| string ImageAsset::getImageSize | ( | ) |
Gets the image size.
| string ImageAsset::getImageSize | ( | ) |
Gets the image size.
| int ImageAsset::getImageWidth | ( | ) |
Gets the image width.
| int ImageAsset::getImageWidth | ( | ) |
Gets the image width.
| bool ImageAsset::getIsImagePOT | ( | ) |
Gets whether the image has a power-of-two dimensions or not.
| bool ImageAsset::getIsImagePOT | ( | ) |
Gets whether the image has a power-of-two dimensions or not.
| bool ImageAsset::insertExplicitCell | ( | int | cellIndex, |
| int | cellOffsetX, | ||
| int | cellOffsetY, | ||
| int | cellWidth, | ||
| int | cellHeight | ||
| ) |
Insert an explicit cell at the specified index.
| cellIndex | The zero-based index to insert the cell. This will work when no cells are present. If the index is beyond the cell count then the cell is simply added. |
| cellOffsetX | The offset in the X axis to the top-left of the cell. |
| cellOffsetY | The offset in the Y axis to the top-left of the cell. |
| cellWidth | The width of the cell. |
| cellHeight | The height of the cell. The image asset must be in explicit mode for this operation to succeed. |
| bool ImageAsset::insertExplicitCell | ( | int | cellIndex, |
| int | cellOffsetX, | ||
| int | cellOffsetY, | ||
| int | cellWidth, | ||
| int | cellHeight | ||
| ) |
Insert an explicit cell at the specified index.
| cellIndex | The zero-based index to insert the cell. This will work when no cells are present. If the index is beyond the cell count then the cell is simply added. |
| cellOffsetX | The offset in the X axis to the top-left of the cell. |
| cellOffsetY | The offset in the Y axis to the top-left of the cell. |
| cellWidth | The width of the cell. |
| cellHeight | The height of the cell. The image asset must be in explicit mode for this operation to succeed. |
| bool ImageAsset::removeExplicitCell | ( | int | cellIndex | ) |
Remove an explicit cell from the specified index.
| cellIndex | The zero-based index to remove the cell from. |
| bool ImageAsset::removeExplicitCell | ( | int | cellIndex | ) |
Remove an explicit cell from the specified index.
| cellIndex | The zero-based index to remove the cell from. |
| void ImageAsset::setCellCountX | ( | countX | ) |
Sets the CELL count X.
| void ImageAsset::setCellCountX | ( | countX | ) |
Sets the CELL count X.
| void ImageAsset::setCellCountY | ( | countY | ) |
Sets the CELL count Y.
| void ImageAsset::setCellCountY | ( | countY | ) |
Sets the CELL count Y.
| void ImageAsset::setCellHeight | ( | Height | ) |
Sets the CELL height.
| void ImageAsset::setCellHeight | ( | Height | ) |
Sets the CELL height.
| void ImageAsset::setCellOffsetX | ( | offsetX | ) |
Sets the CELL offset X.
| void ImageAsset::setCellOffsetX | ( | offsetX | ) |
Sets the CELL offset X.
| void ImageAsset::setCellOffsetY | ( | offsetY | ) |
Sets the CELL offset Y.
| void ImageAsset::setCellOffsetY | ( | offsetY | ) |
Sets the CELL offset Y.
| void ImageAsset::setCellRowOrder | ( | rowOrder? | ) |
Sets whether CELL row order should be used or not.
| void ImageAsset::setCellRowOrder | ( | rowOrder? | ) |
Sets whether CELL row order should be used or not.
| void ImageAsset::setCellStrideX | ( | strideX | ) |
Sets the CELL stride X.
| void ImageAsset::setCellStrideX | ( | strideX | ) |
Sets the CELL stride X.
| void ImageAsset::setCellStrideY | ( | strideY | ) |
Sets the CELL stride Y.
| void ImageAsset::setCellStrideY | ( | strideY | ) |
Sets the CELL stride Y.
| void ImageAsset::setCellWidth | ( | Width | ) |
Sets the CELL width.
| void ImageAsset::setCellWidth | ( | Width | ) |
Sets the CELL width.
| bool ImageAsset::setExplicitCell | ( | int | cellIndex, |
| int | cellOffsetX, | ||
| int | cellOffsetY, | ||
| int | cellWidth, | ||
| int | cellHeight | ||
| ) |
Set an explicit cell at the specified index.
| cellIndex | The zero-based index to insert the cell. This will work when no cells are present. If the index is beyond the cell count then the cell is simply added. |
| cellOffsetX | The offset in the X axis to the top-left of the cell. |
| cellOffsetY | The offset in the Y axis to the top-left of the cell. |
| cellWidth | The width of the cell. |
| cellHeight | The height of the cell. The image asset must be in explicit mode for this operation to succeed. |
| bool ImageAsset::setExplicitCell | ( | int | cellIndex, |
| int | cellOffsetX, | ||
| int | cellOffsetY, | ||
| int | cellWidth, | ||
| int | cellHeight | ||
| ) |
Set an explicit cell at the specified index.
| cellIndex | The zero-based index to insert the cell. This will work when no cells are present. If the index is beyond the cell count then the cell is simply added. |
| cellOffsetX | The offset in the X axis to the top-left of the cell. |
| cellOffsetY | The offset in the Y axis to the top-left of the cell. |
| cellWidth | The width of the cell. |
| cellHeight | The height of the cell. The image asset must be in explicit mode for this operation to succeed. |
| void ImageAsset::setFilterMode | ( | mode | ) |
Sets the filter mode.
| void ImageAsset::setFilterMode | ( | mode | ) |
Sets the filter mode.
| void ImageAsset::setForce16Bit | ( | force16Bit? | ) |
Sets whether 16-bit image is forced or not.
| void ImageAsset::setForce16Bit | ( | force16Bit? | ) |
Sets whether 16-bit image is forced or not.
| void ImageAsset::setImageFile | ( | ImageFile | ) |
Sets the image file (bitmap file).
| void ImageAsset::setImageFile | ( | ImageFile | ) |
Sets the image file (bitmap file).
| bool ImageAsset::AssetAutoUnload |
Whether the asset is automatically unloaded when an asset is released and has no other acquisitions or not.
| string ImageAsset::AssetCategory |
An arbitrary category that can be used to categorized assets.
| string ImageAsset::AssetDescription |
The simple description of the asset contents.
| bool ImageAsset::AssetInternal |
Whether the asset is used internally only or not.
| string ImageAsset::AssetName |
The name of the asset. The is not a unique identification like an asset Id.
| bool ImageAsset::AssetPrivate |
Whether the asset is private or not.
| bool ImageAsset::canSaveDynamicFields |
| int ImageAsset::CellCountX |
| int ImageAsset::CellCountY |
| int ImageAsset::CellHeight |
| int ImageAsset::CellOffsetX |
| int ImageAsset::CellOffsetY |
| bool ImageAsset::CellRowOrder |
| int ImageAsset::CellStrideX |
| int ImageAsset::CellStrideY |
| int ImageAsset::CellWidth |
| string ImageAsset::class |
Script SuperClass of object.
| bool ImageAsset::ExplicitMode |
| enumval ImageAsset::FilterMode |
| bool ImageAsset::Force16bit |
| assetLooseFilePath ImageAsset::ImageFile |
| string ImageAsset::internalName |
| SimObjectPtr ImageAsset::parentGroup |
Group hierarchy parent of the object.
| string ImageAsset::superclass |
Script Class of object.