PcoWSkbVqDnWTu_dm2ix
Collapse Sidebar

Reflectance

BasePart

float

The Reflectance property determines how much a BasePart|part reflects the skybox. A value of 0 indicates the part is not reflective at all, and a value of 1 indicates the part should fully reflect.

Reflectance is not affected by /BasePart/Transparency, unless the part is fully transparent, in which case reflectance will not render at all. Reflectance may or may not be ignored depending on the /BasePart/Material of the part.


Code Samples


Touch Blink

This code sample causes a part to blink its Reflectance and a PointLight every time it is touched. It uses a pattern that prevents multiple concurrent function calls from fighting with each other.