Murl::Resource::IInstance Interface Referenceabstract
The IInstance resource interface. More...
#include "murl_resource_i_instance.h"
Inheritance diagram for Murl::Resource::IInstance:
Public Member Functions | |
virtual const String & | GetResourceId () const =0 |
Get the resource ID of the Resource::IGraph to instantiate. More... | |
virtual const String & | GetParentNodeId () const =0 |
Get the ID of an existing node in the scene graph where to add the instance. More... | |
virtual UInt32 | GetNumberOfReplications () const =0 |
Get the desired number of replications. More... | |
virtual Bool | SetTags (const StringArray &tags)=0 |
Set optional resource tags for this object. More... | |
virtual const StringArray & | GetTags () const =0 |
Get the optional resource tags held by this object. More... | |
Detailed Description
The IInstance resource interface.
This interface provides methods to query information about any optional graph or script instances that must be created when a package has been successfully loaded.
Member Function Documentation
◆ GetResourceId()
|
pure virtual |
Get the resource ID of the Resource::IGraph to instantiate.
- Returns
- The resource ID.
◆ GetParentNodeId()
|
pure virtual |
Get the ID of an existing node in the scene graph where to add the instance.
- Returns
- The parent node ID.
◆ GetNumberOfReplications()
|
pure virtual |
Get the desired number of replications.
- Returns
- The number of replications.
◆ SetTags()
|
pure virtual |
Set optional resource tags for this object.
- Parameters
-
tags The resource tags.
- Returns
- true if successful.
◆ GetTags()
|
pure virtual |
Get the optional resource tags held by this object.
- Returns
- The resource tags.
The documentation for this interface was generated from the following file:
- murl_resource_i_instance.h