Type:RenderingContext: Difference between revisions

From Resonite Wiki
Initial page for RenderingContext
 
No edit summary
Line 1: Line 1:
The context in which you are rendering from.
The context in which you are rendering from. {{Table EnumValues|UserView|0|First person view.|ExternalView|1|In 3rd person, Freeform Camera, or while UI aligned|Camera|2|Viewed through a [[Component:Camera|Camera]].|Mirror|3|Reflected in a [[Component:CameraPortal|Mirror]].|Portal|4|Viewed through a [[Component:CameraPortal|CameraPortal]].|RenderToAsset|5|Rendered to an Asset such as when taking a photo or using [[ProtoFlux:RenderToTextureAsset|RenderToTextureAsset]].}}

Revision as of 08:48, 21 April 2024

The context in which you are rendering from.

Values
Name Value Description
UserView 0 First person view.
ExternalView 1 In 3rd person, Freeform Camera, or while UI aligned
Camera 2 Viewed through a Camera.
Mirror 3 Reflected in a Mirror.
Portal 4 Viewed through a CameraPortal.
RenderToAsset 5 Rendered to an Asset such as when taking a photo or using RenderToTextureAsset.