Type:RenderingContext: Difference between revisions

From Resonite Wiki
No edit summary
m fix link
 
(One intermediate revision by one other user not shown)
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:Render To Texture Asset|Render To Texture Asset]].
}}
 
[[Category:Enums]]
[[Category:Type]]

Latest revision as of 19:17, 4 July 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 Render To Texture Asset.