Type:RenderingContext: Difference between revisions

From Resonite Wiki
No edit summary
m Add to Enums and Type categories
Line 1: Line 1:
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]].}}
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]].
}}
 
[[Category:Enums]]
[[Category:Type]]

Revision as of 09:18, 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.