ProtoFlux:Render To Texture Asset

From Resonite Wiki
Render To Texture Asset
*
OnRenderStarted
Camera
OnRendered
Resolution
OnFailed
Format
RenderedAssetURL
Quality
Rendering

The Render To Texture Asset node takes in a provided Camera, resolution, file format, and quality for the texture. Then this node will attempt to render it into a texture, and returns the asset URL for the world to use.

Inputs

* (AsyncCall)

Calls an impulse to render a texture.

Camera (Camera)

The camera used to render the texture.

Resolution (int2)

The resolution for the texture.

Format (string)

The texture asset file format (defaults to webp).

Quality (int)

The quality of the texture asset (default to 200).

Outputs

OnRenderStarted (AsyncCall)

Fires when this rendering task has started.

OnRendered (Continuation)

Fires when this rendering task has finished rendering.

OnFailed (Continuation)

Fires when this rendering task has failed.

RenderedAssetURL (Uri)

The Uri asset of the texture.