Contents

capture()

Returns a snapshot of the controller with its current element values.

Declaration

func capture() -> GCController

Return Value

A snapshot of the controller.

Discussion

A snapshot is a copy of a real or virtual controller at a moment in time with its current element values. Unlike other controllers, you can set the values of a snapshot’s GCControllerElement objects.

See Also

Creating snapshots