Navigation
API > API/Runtime > API/Runtime/MassEntity > API/Runtime/MassEntity/FMassEntityView > API/Runtime/MassEntity/FMassEntityView/__ctor
References
| Module | MassEntity |
| Header | /Engine/Source/Runtime/MassEntity/Public/MassEntityView.h |
| Include | #include "MassEntityView.h" |
| Source | /Engine/Source/Runtime/MassEntity/Private/MassEntityView.cpp |
FMassEntityView
(
const FMassArchetypeHandle & ArchetypeHandle,
FMassEntityHandle Entity
)
Remarks
Resolves Entity against ArchetypeHandle. Note that this approach requires the caller to ensure that Entity indeed belongs to ArchetypeHandle. If not the call will fail a check. As a remedy calling the FMassEntityManager-flavored constructor is recommended since it will first find the appropriate archetype for Entity.