FAST SDK Coding Reference 1.0.3
Loading...
Searching...
No Matches
MarkerWindow Class Reference

A predefined tool for a "magic" window. More...

Inheritance diagram for MarkerWindow:
MarkerTool

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.
 
- Public Attributes inherited from MarkerTool
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

- Public Member Functions inherited from MarkerTool
void OnToggleUI ()
 Toggles the visualization of this tool on/off.
 
- Protected Member Functions inherited from MarkerTool
void DrawTool ()
 Override this function to implement the visualization of this tool.
 
- Protected Attributes inherited from MarkerTool
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.
 

Detailed Description

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.

See also
UnityEngine.UI.Image
TMPro.TMP_Text
UnityEngine.MeshFilter

Member Data Documentation

◆ value

string value

Inspector, Code
Identifies this window.

◆ windowIdTexts

TMP_Text [] windowIdTexts = new TMP_Text[4]
private

Inspector
UI TMP_Text to label the IDs of the markers used by this window.

◆ windowMarkers

MarkerData [] windowMarkers = new MarkerData[4]

Inspector, Code
The tracking data for the markers used by this window.

◆ windowMeshFilter

MeshFilter windowMeshFilter
private

Inspector
The quad MeshFilter to visualize the projection area of this window.

◆ windowPointImages

Image [] windowPointImages = new Image[4]
private

Inspector
UI Images to visualize the position of markers used by this window.

◆ windowValueText

TMP_Text windowValueText
private

Inspector
UI TMP_Text to label the
FAST.MarkerWindow.value.


The documentation for this class was generated from the following file: