Exemplo n.º 1
0
        public override void Teardown()
        {
            InteractionC.DestroyShapeInstance(ref _scene, ref _shapeInstanceHandle);
            InteractionC.RemoveShapeDescription(ref _scene, ref _shapeDescriptionHandle);

            base.Teardown();
        }
Exemplo n.º 2
0
        protected virtual void destroyInteractionShape(IInteractionBehaviour interactionBehaviour)
        {
            INTERACTION_SHAPE_INSTANCE_HANDLE instanceHandle = interactionBehaviour.ShapeInstanceHandle;

            _instanceHandleToBehaviour.Remove(instanceHandle);

            InteractionC.DestroyShapeInstance(ref _scene, ref instanceHandle);

            interactionBehaviour.NotifyInteractionShapeDestroyed();
        }