Package | away3d.library.assets |
Interface | public interface IAsset extends flash.events.IEventDispatcher |
Implementors | AnimationNodeBase, AnimationSetBase, AnimatorBase, BitmapDataAsset, EffectMethodBase, Geometry, LightPickerBase, MaterialBase, Mesh, ObjectContainer3D, ShadowMapMethodBase, Skeleton, SkeletonPose, TextureProxyBase |
Property | Defined By | ||
---|---|---|---|
assetFullPath : Array [read-only]
The full path of the asset. | IAsset | ||
assetNamespace : String [read-only]
The namespace of the asset. | IAsset | ||
assetType : String [read-only]
The type of the asset. | IAsset | ||
id : String
The id of the asset. | IAsset | ||
name : String
The name of the asset. | IAsset |
Method | Defined By | ||
---|---|---|---|
assetPathEquals(name:String, ns:String):Boolean | IAsset | ||
dispose():void
Cleans up resources used by this asset. | IAsset | ||
resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void | IAsset |
assetFullPath | property |
assetFullPath:Array
[read-only] The full path of the asset.
public function get assetFullPath():Array
assetNamespace | property |
assetNamespace:String
[read-only] The namespace of the asset. This allows several assets with the same name to coexist in different contexts.
public function get assetNamespace():String
assetType | property |
assetType:String
[read-only] The type of the asset.
public function get assetType():String
id | property |
id:String
The id of the asset.
public function get id():String
public function set id(value:String):void
name | property |
name:String
The name of the asset.
public function get name():String
public function set name(value:String):void
assetPathEquals | () | method |
public function assetPathEquals(name:String, ns:String):Boolean
Parameters
name:String | |
ns:String |
Boolean |
dispose | () | method |
public function dispose():void
Cleans up resources used by this asset.
resetAssetPath | () | method |
public function resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void
Parameters
name:String | |
ns:String (default = null )
| |
overrideOriginal:Boolean (default = true )
|