CaptureType Enum
Multiple captures can be performed on a single point index. The type indicates the type of interest the capture has on the pointer events.
Location
- Namespace
- Fuse.Input
- Package
- Fuse.Nodes 2.9.1
Possible Values
- None
-
Multiple captures can be performed on a single point index. The type indicates the type of interest the capture has on the pointer events.
- Soft
-
A soft capture is a non-exclusive capture which allows any other soft captures to also exist. These are used when a gesture has not yet been fully identified (selection of gestures), or the capturer never needs to make visual feedback, or if the capturer doesn't care about losing the capture.
- Hard
-
A hard capture indicates a strong desire to be the exclusive recipient of pointer events. It likely means visual feedback is being tied to this capture, and tries to intentionally exclude other behaviors from also acting on the same feedback.
- Children
-
Targetting still looks at children. Normally the pointer input is directed strictly to the bottom most capture element. This allows capturing within part of the UI tree.
- NodeShare
-
Multiple Soft/Hard-NodeShared captures can exist on the same node. Usually a hard capture will release all other captures. NodeShare allows captures on the same node to persist even in the presence of a hard capture.
Interface of CaptureType
CaptureType - CaptureType : CaptureType uno
CaptureType != CaptureType : bool uno
CaptureType & CaptureType : CaptureType uno
CaptureType ^ CaptureType : CaptureType uno
CaptureType == CaptureType : bool uno
CaptureType | CaptureType : CaptureType uno
Children : CaptureType uno
Targetting still looks at children. Normally the pointer input is directed strictly to the bottom most capture element. This allows capturing within part of the UI tree.
Hard : CaptureType uno
A hard capture indicates a strong desire to be the exclusive recipient of pointer events. It likely means visual feedback is being tied to this capture, and tries to intentionally exclude other behaviors from also acting on the same feedback.
HasFlag(CaptureType) : bool uno
NodeShare : CaptureType uno
None : CaptureType uno
Multiple captures can be performed on a single point index. The type indicates the type of interest the capture has on the pointer events.