VisualFindAncestorsAspectT Method |
Find the first aspect of type T on one of the visuals ancestors (parent, grand-parent, etc.).
Namespace:
Demo3D.Visuals
Assembly:
Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntaxpublic T FindAncestorsAspect<T>()
where T : class
Type Parameters
- T
- The aspect type to look for.
Return Value
Type:
TThe first instance of aspect of type T in the hierarchy above this visual, or null if not found.
See Also