ProtoFlux:Render To Texture Asset

From Resonite Wiki
Revision as of 00:50, 24 May 2024 by AmasterAmaster (talk | contribs) (Created a page for the Render To Texture Asset node.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.