RenderTexture

csharp
public sealed class RenderTexture : Object

Namespace NodeWorld.Flux.

A texture a camera of the scripts renders into (Create). The server has none.

Properties

width

csharp
public int width { get; }

Width in pixels.

height

csharp
public int height { get; }

Height in pixels.

Methods

Create

csharp
public static RenderTexture Create(int width, int height, int depthBits = 24, bool hdr = false)

A render texture of the world (released with Release or when the world unloads).

Release

csharp
public void Release()

Frees the texture.