public override void Teardown() { InteractionC.DestroyShapeInstance(ref _scene, ref _shapeInstanceHandle); InteractionC.RemoveShapeDescription(ref _scene, ref _shapeDescriptionHandle); base.Teardown(); }
protected virtual void destroyInteractionShape(IInteractionBehaviour interactionBehaviour) { INTERACTION_SHAPE_INSTANCE_HANDLE instanceHandle = interactionBehaviour.ShapeInstanceHandle; _instanceHandleToBehaviour.Remove(instanceHandle); InteractionC.DestroyShapeInstance(ref _scene, ref instanceHandle); interactionBehaviour.NotifyInteractionShapeDestroyed(); }