FAST SDK Coding Reference 1.0.3
|
A predefined tool for a "magic" window. More...
Public Attributes | |
string | value |
Inspector, Code Identifies this window. | |
MarkerData[] | windowMarkers = new MarkerData[4] |
Inspector, Code The tracking data for the markers used by this window. | |
![]() | |
bool | isTracked |
Runtime Returns true when enough of the markers that compose the tool are tracked for the tool to function. | |
int[] | markerIds |
Inspector, Code The IDs of the markers to use for this tool. | |
Private Attributes | |
TMP_Text[] | windowIdTexts = new TMP_Text[4] |
Inspector UI TMP_Text to label the IDs of the markers used by this window. | |
MeshFilter | windowMeshFilter |
Inspector The quad MeshFilter to visualize the projection area of this window. | |
Image[] | windowPointImages = new Image[4] |
Inspector UI Images to visualize the position of markers used by this window. | |
TMP_Text | windowValueText |
Inspector UI TMP_Text to label the FAST.MarkerWindow.value. | |
Additional Inherited Members | |
![]() | |
void | OnToggleUI () |
Toggles the visualization of this tool on/off. | |
![]() | |
void | DrawTool () |
Override this function to implement the visualization of this tool. | |
![]() | |
CanvasGroup | canvasGroup |
Inspector The CanvasGroup to control the visualization of this tool. | |
bool | isDrawTool |
Inspector Set to true if the tool should be visualized. | |
MarkerTrackingSystem | trackingSystem |
Inspector The FAST.MarkerTrackingSystem providing the marker data for this tool. | |
A predefined tool for a "magic" window.
This is a physical, rectangualr window that you can project onto and reveal a different layer of content within it. A marker it place in each corner of the window as a reference for the projection area. All 4 marker must always be visible.
Use the Marker Window Prefab
to instantiate this tool with default attributes and assignments.
string value |
Inspector, Code
Identifies this window.
|
private |
Inspector
UI TMP_Text
to label the IDs of the markers used by this window.
MarkerData [] windowMarkers = new MarkerData[4] |
Inspector, Code
The tracking data for the markers used by this window.
|
private |
Inspector
The quad MeshFilter
to visualize the projection area of this window.
|
private |
Inspector
UI Images
to visualize the position of markers used by this window.
|
private |
Inspector
UI TMP_Text
to label the
FAST.MarkerWindow.value.