Packageaway3d.library.assets
Classpublic class NamedAssetBase
InheritanceNamedAssetBase Inheritance flash.events.EventDispatcher
Subclasses AnimationNodeBase, AnimationSetBase, BitmapDataAsset, Geometry, MaterialBase, Object3D, Skeleton, SkeletonPose, TextureProxyBase



Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined By
  
NamedAssetBase(name:String = null)
NamedAssetBase
  
assetPathEquals(name:String, ns:String):Boolean
NamedAssetBase
  
resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void
NamedAssetBase
Public Constants
 ConstantDefined By
  DEFAULT_NAMESPACE : String = default
[static]
NamedAssetBase
Property Detail
assetFullPathproperty
assetFullPath:Array  [read-only]


Implementation
    public function get assetFullPath():Array
assetNamespaceproperty 
assetNamespace:String  [read-only]


Implementation
    public function get assetNamespace():String
nameproperty 
name:String


Implementation
    public function get name():String
    public function set name(value:String):void
originalNameproperty 
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.


Implementation
    public function get originalName():String
Constructor Detail
NamedAssetBase()Constructor
public function NamedAssetBase(name:String = null)



Parameters
name:String (default = null)
Method Detail
assetPathEquals()method
public function assetPathEquals(name:String, ns:String):Boolean

Parameters

name:String
 
ns:String

Returns
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)

Constant Detail
DEFAULT_NAMESPACEConstant
public static const DEFAULT_NAMESPACE:String = default