Class LoadAssetTask
Asset loading task object.
Assembly: FlaxEngine.dll
File: Engine/Content/Loading/Tasks/LoadAssetTask.h
Syntax
public class LoadAssetTask : public ContentLoadTask
Constructors
~LoadAssetTask()
Declaration
public ~LoadAssetTask()
LoadAssetTask(Asset* asset)
Initializes a new instance of the LoadAssetTask class.
Declaration
public LoadAssetTask(Asset* asset)
Parameters
Asset
asset
The asset to load. |
Fields
Asset
Declaration
public WeakAssetReference<Asset> Asset
Field Value
WeakAssetReference<Asset>
|
Methods
HasReference(Object* obj)
Determines whether the specified object has reference to the given object.
Declaration
public virtual bool HasReference(Object* obj) const override
Parameters
Object
obj
The object. |
Returns
bool
True if the specified object has reference to the given object, otherwise false. |