Reflectorcomponent

ReflectorComponent class

This component is used to display a reflective plan in the game. Use the studio to configure the reflector for the space.

This is a singleton component. You can only have one reflector in the game. For performance reasons, adding both a water and a reflector component to the same space is not supported.

Signature:

export declare class ReflectorComponent extends Component3D<any> 

Extends: Component3D<any>

Properties

Property

Modifiers

Type

Description

blur

boolean

color

string

Public api

opacity

number

Methods

Method

Modifiers

Description

_onCreateCollisionMesh()

protected

dispose()

protected

init()

protected