Function setPbrLocalEnvironment
-
setPbrLocalEnvironment(
material: PbrMaterialProps,
environment: EnvironmentTextures,
options: PbrLocalEnvironmentOptions,
): voidParameters
- material: PbrMaterialProps
- environment: EnvironmentTextures
- options: PbrLocalEnvironmentOptions
Returns void
Assign one bounded local environment to a PBR material.
Configure before scene registration. If bindings already exist, call
rebuildMaterial(scene, material)after changing or clearing the assignment.