ARComponentPicker Class¶
Description¶
AR component picker. ARSession use this picker to pick components and compose ARAssembly when start.
Enums¶
public enum ARComponentPicker.SingleSelection |
Selection strategy to pick only one component. |
public enum ARComponentPicker.MultipleSelection |
Selection strategy to pick multiple components. |
Fields¶
FrameSource¶
- C#
public ARComponentPicker.SingleSelection FrameSource
FrameSource selection strategy.
FrameFilter¶
- C#
public ARComponentPicker.MultipleSelection FrameFilter
FrameFilter selection strategy.
FramePlayer¶
- C#
public ARComponentPicker.SingleSelection FramePlayer
FramePlayer selection strategy.
FrameRecorder¶
- C#
public ARComponentPicker.SingleSelection FrameRecorder
FrameRecorder selection strategy.
SpecifiedComponents¶
- C#
public ARAssembly.Components SpecifiedComponents
Record specified components.
EnableCustomCamera¶
- C#
public bool EnableCustomCamera
Enable custom camera.
All user defined frame sources are treated as custom camera. AR Engine, Nreal and ARFoundation support are also implemented as custom camera.
For personal edition, you can use custom camera 100 seconds per run.
Methods¶
Pick¶
- C#
public System.Collections.IEnumerator Pick(Action< ARAssembly.Components > callback)
Pick components. Pick may take a few frames to finish due to availability check of some components may take some time.