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: 15.0.2.11458
Syntax
C#
public T FindCreateAspect<T>()
where T : new(), AspectComponentBase

Type Parameters

T
The type of the aspect to find or create.

Return Value

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