Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RenderView

渲染视图代表了它的相机所拍摄的视图,它也管理一组在视图上执行的 RenderFlow

Hierarchy

  • RenderView

Index

Constructors

constructor

Properties

Private _camera

_camera: Camera

Private _flows

_flows: RenderFlow[] = []

Private _isEnable

_isEnable: boolean = false

Private _name

_name: string = ""

Private _priority

_priority: number = 0

Private _visibility

_visibility: number = CAMERA_DEFAULT_MASK

Private _window

_window: RenderWindow | null = null

Accessors

camera

  • get camera(): Camera

flows

isEnable

  • get isEnable(): boolean

name

  • get name(): string

priority

  • get priority(): number
  • set priority(val: number): void

visibility

  • get visibility(): number
  • set visibility(vis: number): void

window

Methods

destroy

  • destroy(): void

enable

  • enable(isEnable: boolean): void

initialize

onGlobalPipelineStateChanged

  • onGlobalPipelineStateChanged(): void

setExecuteFlows

  • setExecuteFlows(flows: string[] | undefined): void
  • 使用对应的名字列表设置需要执行的渲染流程,所有在渲染管线中找到的对应渲染流程都会用来对当前视图执行渲染。

    Parameters

    • flows: string[] | undefined

      The names of all RenderFlows

    Returns void

Generated using TypeDoc