InvertedScene

InvertedScene

后处理实现倒影
原理:利用空间镜面反射技术,计算倒影射线的UV进行采样

Constructor

new InvertedScene(viewer, optionsopt)

创建一个模型编辑对象

Parameters:
Name Type Attributes Description
viewer *

视图viewer

options Object <optional>

带有以下属性的对象:

Properties
Name Type Attributes Default Description
_show Boolean <optional>
true

是否开启倒影

Classes

InvertedScene

Members

show :Boolean

是否开启效果

Type:
  • Boolean

Methods

destroy() → {any}

销毁

Returns:
Type
any

init() → {any}

初始化,构造函数调用

Returns:
Type
any