The IInstance resource interface. More...

#include "murl_resource_i_instance.h"

Inheritance diagram for Murl::Resource::IInstance:

Public Member Functions

virtual IConditionGetConditionInterface ()=0
 Get the mutable ICondition interface. More...
 
virtual const IConditionGetConditionInterface () const =0
 Get the constant ICondition interface. More...
 
virtual const StringGetResourceId () const =0
 Get the resource ID of the Resource::IGraph to instantiate. More...
 
virtual const StringGetParentNodeId () 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...
 

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

◆ GetConditionInterface() [1/2]

virtual ICondition* Murl::Resource::IInstance::GetConditionInterface ( )
pure virtual

Get the mutable ICondition interface.

Returns
The ICondition interface.

◆ GetConditionInterface() [2/2]

virtual const ICondition* Murl::Resource::IInstance::GetConditionInterface ( ) const
pure virtual

Get the constant ICondition interface.

Returns
The ICondition interface.

◆ GetResourceId()

virtual const String& Murl::Resource::IInstance::GetResourceId ( ) const
pure virtual

Get the resource ID of the Resource::IGraph to instantiate.

Returns
The resource ID.

◆ GetParentNodeId()

virtual const String& Murl::Resource::IInstance::GetParentNodeId ( ) const
pure virtual

Get the ID of an existing node in the scene graph where to add the instance.

Returns
The parent node ID.

◆ GetNumberOfReplications()

virtual UInt32 Murl::Resource::IInstance::GetNumberOfReplications ( ) const
pure virtual

Get the desired number of replications.

Returns
The number of replications.

The documentation for this interface was generated from the following file:
  • murl_resource_i_instance.h


Copyright © 2011-2018 Spraylight GmbH.