Share via


CoordinateMapper.CoordinateMappingChanged Event

Event that is raised when any of the mappings between camera, color, and depth space change.

Syntax

public:
event TypedEventHandler<CoordinateMapper, CoordinateMappingChangedEventArgs>^ CoordinateMappingChanged {
         EventRegistrationToken add (TypedEventHandler<CoordinateMapper, CoordinateMappingChangedEventArgs>^ value);
         void remove (EventRegistrationToken token);
}
public event TypedEventHandler<CoordinateMapper, CoordinateMappingChangedEventArgs> CoordinateMappingChanged
function onCoordinateMappingChanged(eventArgs) { /* Your code */ }

// addEventListener syntax
coordinateMapper.addEventListener("coordinatemappingchanged", onCoordinateMappingChanged);
coordinateMapper.removeEventListener("coordinatemappingchanged", onCoordinateMappingChanged);

- or -

coordinateMapper.oncoordinatemappingchanged = onCoordinateMappingChanged;

Requirements

Namespace: WindowsPreview.Kinect

Metadata: windowspreview.kinect.winmd

See also

Reference

CoordinateMapper Class
WindowsPreview.Kinect Namespace