AspectComponentBaseFindCreateManagedAspectT Method |
Find or, if one isn't found, create a managed aspect of the desired type in this aspect's container. The managed aspect will be owned by the declared aspect.
Namespace: Demo3D.VisualsAssembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntaxpublic T FindCreateManagedAspect<T>(
AspectComponentBase manager
)
where T : new(), AspectComponentBase
Parameters
- manager AspectComponentBase
- The manager of the found aspect.
Type Parameters
- T
- The type of the aspect to find or create.
Return Value
TThe matching aspect if one is found, otherwise a newly created aspect.
See Also