NAP
Public Member Functions | Public Attributes | List of all members
ClonedComponentResource Class Referencefinal

#include <entitycreationparameters.h>

Public Member Functions

 ClonedComponentResource ()=default
 
 ClonedComponentResource (const ComponentResourcePath &path, std::unique_ptr< Component > resource)
 

Public Attributes

ComponentResourcePath mPath
 The path (from the root entity) to the original component that was cloned. More...
 
std::unique_ptr< ComponentmResource
 The cloned component resource. More...
 

Description

Structure used to hold the data necessary to uniquely identify and store a cloned ComponentResource.

Collaboration diagram for ClonedComponentResource:
[legend]

Constructor & Destructor Documentation

◆ ClonedComponentResource() [1/2]

◆ ClonedComponentResource() [2/2]

ClonedComponentResource ( const ComponentResourcePath path,
std::unique_ptr< Component resource 
)

Member Data Documentation

◆ mPath

The path (from the root entity) to the original component that was cloned.

◆ mResource

std::unique_ptr<Component> mResource

The cloned component resource.