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.Visuals
Assembly:
Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntaxpublic T FindCreateManagedAspect<T>(
AspectComponentBase manager
)
where T : new(), AspectComponentBase
Parameters
- manager
- Type: Demo3D.VisualsAspectComponentBase
The manager of the found aspect.
Type Parameters
- T
- The type of the aspect to find or create.
Return Value
Type:
TThe matching aspect if one is found, otherwise a newly created aspect.
See Also