Type Alias: UIProps
UIProps:
TransformationProps&object
Type declaration
castShadow?
optionalcastShadow:boolean
Default
false
children?
optionalchildren:ReactNode
onPress()?
optionalonPress: (entity,modelEntities) =>void
Will be called when the user pressed any of the rendered entities of the model.
Parameters
• entity: Entity
• modelEntities: Entity[]
Returns
void
receiveShadow?
optionalreceiveShadow:boolean
Default
false