xr-frame / Exports / RenderTexture

# Class: RenderTexture

渲染纹理组件,可作为{@link Camera.renderTarget}。

# Table of contents

# Constructors

# Properties

# Accessors

# Methods

# Constructors

# constructor

new RenderTexture(_scene, options)

# Parameters

Name Type
_scene Scene
options IRenderTextureOptions

# Properties

# isRenderTexture

Readonly isRenderTexture: boolean = true

# Accessors

# height

get height(): number

贴图高。

# Returns

number


# id

get id(): number

# Returns

number


# width

get width(): number

贴图宽。

# Returns

number

# Methods

# IS

Static IS(obj): obj is RenderTexture

# Parameters

Name Type
obj any

# Returns

obj is RenderTexture