Click or drag to resize

AspectComponentBaseFindCreateAspectT Method

Find or, if one isn't found, create an aspect of the desired type in this aspect's container.

Namespace: Demo3D.Visuals
Assembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntax
C#
public T FindCreateAspect<T>()
where T : new(), AspectComponentBase

Type Parameters

T
The type of the aspect to find or create.

Return Value

T
The matching aspect if one is found, otherwise a newly created aspect.
See Also