magic-script-components icon indicating copy to clipboard operation
magic-script-components copied to clipboard

Multi-Prism Support

Open pleszkiewicz opened this issue 5 years ago • 6 comments

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/>

Completion status

pleszkiewicz avatar Jan 08 '20 09:01 pleszkiewicz