Interface ICSS3DRendererModule

interface ICSS3DRendererModule {
    css3dOccludeRenderer: CSS3DRenderer;
    css3dRenderer: CSS3DRenderer;
    setCss3dObjectCanOcclude: ((object, canOcclude?) => void);
}

Implemented by

Properties

css3dOccludeRenderer: CSS3DRenderer

能遮挡的css3d渲染器

css3dRenderer: CSS3DRenderer

css3d渲染器

setCss3dObjectCanOcclude: ((object, canOcclude?) => void)

设置3d物体能否被场景遮挡

Type declaration

    • (object, canOcclude?): void
    • 设置3d物体能否被场景遮挡

      Parameters

      • object: CSS3DObject
      • Optional canOcclude: boolean

      Returns void