magic-script-components-react-native
magic-script-components-react-native copied to clipboard
Light node
< Main issue
Add support for light nodes. A light node is a component for setting the properties of light in the scene.
Light node's supported properties (based on LightNode.h
and light-builder.js
):
LightNode: TransformNode {
type: LightType(Directional, Point, Spot)
color: vec4
intensity: number
range: number
spotAngle: number
castsShadows: boolean
}
Completion status
- [ ] Android
- [ ] iOS