Package | away3d.library.assets |
Class | public class NamedAssetBase |
Inheritance | NamedAssetBase flash.events.EventDispatcher |
Subclasses | AnimationNodeBase, AnimationSetBase, BitmapDataAsset, Geometry, LightPickerBase, MaterialBase, Object3D, ShadingMethodBase, Skeleton, SkeletonPose, TextureProxyBase |
Property | Defined By | ||
---|---|---|---|
assetFullPath : Array [read-only] | NamedAssetBase | ||
assetNamespace : String [read-only] | NamedAssetBase | ||
name : String | NamedAssetBase | ||
originalName : String [read-only]
The original name used for this asset in the resource (e.g. | NamedAssetBase |
Method | Defined By | ||
---|---|---|---|
NamedAssetBase(name:String = null) | NamedAssetBase | ||
assetPathEquals(name:String, ns:String):Boolean | NamedAssetBase | ||
resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void | NamedAssetBase |
Constant | Defined By | ||
---|---|---|---|
DEFAULT_NAMESPACE : String = default [static] | NamedAssetBase |
assetFullPath | property |
assetFullPath:Array
[read-only] public function get assetFullPath():Array
assetNamespace | property |
assetNamespace:String
[read-only] public function get assetNamespace():String
name | property |
name:String
public function get name():String
public function set name(value:String):void
originalName | property |
originalName:String
[read-only]
The original name used for this asset in the resource (e.g. file) in which
it was found. This may not be the same as name
, which may
have changed due to of a name conflict.
public function get originalName():String
NamedAssetBase | () | Constructor |
public function NamedAssetBase(name:String = null)
name:String (default = null )
|
assetPathEquals | () | method |
public function assetPathEquals(name:String, ns:String):Boolean
Parameters
name:String | |
ns:String |
Boolean |
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 )
|
DEFAULT_NAMESPACE | Constant |
public static const DEFAULT_NAMESPACE:String = default