Type:RenderingContext: Difference between revisions

From Resonite Wiki
m Add to Enums and Type categories
m fix link
 
Line 7: Line 7:
|Mirror|3|Reflected in a [[Component:CameraPortal|Mirror]].
|Mirror|3|Reflected in a [[Component:CameraPortal|Mirror]].
|Portal|4|Viewed through a [[Component:CameraPortal|CameraPortal]].
|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]].
|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:Enums]]
[[Category:Type]]
[[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.