Class XRInputSourceArray
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
NOTE
ExperimentalXRInputSourceArray represents a live list of WebXR input sources, and is used as the return value of the XRSession property InputSources. Each entry is an XRInputSource representing one input device connected to the WebXR system.
[Value("XRInputSourceArray")]
public class XRInputSourceArray
- Inheritance
-
XRInputSourceArray
- Inherited Members
Remarks
In addition to being able to access the input sources in the list using standard array notation (that is, with index numbers inside square brackets), methods are available to allow the use of iterators and the XRInputSourceArray.ForEach method is also available.
Constructors
XRInputSourceArray()
public XRInputSourceArray()
Properties
this[int]
public XRInputSource this[int i] { get; set; }
Parameters
iint
Property Value
Length
NOTE
Experimentallength property returns an integer valueindicating the number of items in the input source list represented by
the XRInputSourceArray object.
[Value("length")]
public ulong Length { get; }
Property Value
- ulong
An integer value indicating the number of XRInputSource objects
representing WebXR input sources are included in the array.