Asset
Lens Studio v1.0.0+
Scripting Name: Asset
Inherits from SerializableWithUID
Child Classes: AnimationLayer
, AudioEffectAsset
, AudioTrackAsset
, BinAsset
, Font
, MarkerAsset
, Material
, Object3DAsset
, ObjectPrefab
, RenderMesh
, Texture
Description
Base class for all assets used in the engine.
Properties
name
: String
The name of the Asset in Lens Studio.
Inherited Methods
isSame(SerializableWithUID other)
: Boolean
Returns true if this object is the same as other
. Useful for checking if two references point to the same thing.
getTypeName()
: String
Returns the name of this object’s type.
isOfType(String type)
: Boolean
Returns true if the object matches or derives from the passed in type.
Still Looking for help?
Visit Support