Click or drag to resize

VisualRemoveAspect Method (Type)

Removes an aspect of a given type.

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntax
C#
public void RemoveAspect(
	Type type
)

Parameters

type
Type: SystemType
The type of the aspect to remove.
Examples
C#
void RemoveRigidBody(Visual visual) {
    // Remove the first RigidBodyAspect on the visual
    visual.RemoveAspect(typeof(RigidBodyAspect));
}
See Also