magic-script-components
magic-script-components copied to clipboard
Multi-Prism Support
Description
Lumin RT LandscapeApp supports more than one prism. Components should support multiple prisms as well.
Examples
Main app component:
<MyApp
type="landscape"
volumes={[
{ id: 1, size: [1.4, 1.2, 1], position: [...] },
{ id: 2, size: [1.4, 1.2, 1], position: [...] },
{ id: 3, size: [1.4, 1.2, 1], position: [...] },
]}
message="Hello Components"
/>
Sample scene:
<View volumeId={2}>
<Button volumeId={3}>Click me</Button>
</View/>