Click or drag to resize

VisualRemoveAspectT Method

Removes an aspect.

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntax
C#
public void RemoveAspect<T>()
where T : class

Type Parameters

T
The type of the aspect to remove.
Examples
C#
void RemoveFirstRigidBody(Visual visual) {
    // Remove the first RigidBodyAspect on the visual
    visual.RemoveAspect<RigidBodyAspect>();
}
See Also