Main   GitHub

Methods | Fields | List of all members
AssetBase Class Reference

Inherits SimObject, and SimObject.

Inherited by AnimationAsset, AnimationAsset, AudioAsset, AudioAsset, ImageAsset, ImageAsset, ParticleAsset, and ParticleAsset.

Methods

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
 
SimBase
bool canSaveDynamicFields
 
string internalName
 
SimObjectPtr parentGroup
 
Namespace Linking
string superclass
 
string class
 
- Fields inherited from SimObject
bool canSaveDynamicFields
 
string internalName
 
SimObjectPtr parentGroup
 
string superclass
 
string class
 

Methods

string AssetBase::getAssetId ( )
  • Gets the assets' Asset Id. This is only available if the asset was acquired from the asset manager.
    Returns
    The assets' Asset Id.
string AssetBase::getAssetId ( )
  • Gets the assets' Asset Id. This is only available if the asset was acquired from the asset manager.
    Returns
    The assets' Asset Id.
void AssetBase::refreshAsset ( )

Refresh the asset.

Returns
No return value.
void AssetBase::refreshAsset ( )

Refresh the asset.

Returns
No return value.

Member Data Documentation

bool AssetBase::AssetAutoUnload

Whether the asset is automatically unloaded when an asset is released and has no other acquisitions or not.

string AssetBase::AssetCategory

An arbitrary category that can be used to categorized assets.

string AssetBase::AssetDescription

The simple description of the asset contents.

bool AssetBase::AssetInternal

Whether the asset is used internally only or not.

string AssetBase::AssetName

The name of the asset. The is not a unique identification like an asset Id.

bool AssetBase::AssetPrivate

Whether the asset is private or not.

bool AssetBase::canSaveDynamicFields
string AssetBase::class

Script SuperClass of object.

string AssetBase::internalName
SimObjectPtr AssetBase::parentGroup

Group hierarchy parent of the object.

string AssetBase::superclass

Script Class of object.



Copyright © 2013 GarageGames, LLC. All Rights Reserved.