Class Render3dTexture

创建3d绘图渲染材质

Constructors

  • Parameters

    • app: App

      如果app是离屏渲染,并且options中scene为空,将使用app中的渲染场景做为材质;否则app对象只是用来更新材质的计时器使用

    • Optional options: Render3dTextureOptions

    Returns Render3dTexture

Properties

_texture: Texture | CanvasTexture
app: App
camera: Camera
fbo: WebGLRenderTarget<Texture>
renderCount: number
renderInterval: number
scene: Scene
signal: {
    onRenderFinsh: Signal;
    onRenderOne: Signal;
} = ...

Type declaration

Accessors

  • get texture(): Texture | CanvasTexture
  • 获取材质

    Returns Texture | CanvasTexture

Methods

  • Returns void

  • Returns void