ShapeAsset

consoledoc.h

More...

Public Attributes

assetLooseFilePath

Path to the shape file we want to render.

assetLooseFilePath

Path to the shape file we want to render.

Public Functions

string
getAnimation(int index)

Gets a particular shape animation asset for this shape.

int

Gets the number of animations for this shape asset.

int

Gets the number of materials for this shape asset.

string

Creates a new script asset using the targetFilePath.

Detailed Description

UNDOCUMENTED!

Public Attributes

assetLooseFilePath constuctorFileName 

Path to the shape file we want to render.

assetLooseFilePath fileName 

Path to the shape file we want to render.

Public Functions

generateCachedPreviewImage(int resolution)

getAnimation(int index)

Gets a particular shape animation asset for this shape.

Parameters:

animation

asset index.

return:

Shape Animation Asset.

getAnimationCount()

Gets the number of animations for this shape asset.

return:

Animation count.

getMaterialCount()

Gets the number of materials for this shape asset.

return:

Material count.

getShapeFile()

Creates a new script asset using the targetFilePath.

return:

The bool result of calling exec