m Fix typo in fields: Clear => Color |
Automated: update Fields |
||
Line 22: | Line 22: | ||
|UseTransformScale|Bool|Determines if the scale of the camera should be taken into account. | |UseTransformScale|Bool|Determines if the scale of the camera should be taken into account. | ||
|Clear|CameraClearMode| | |Clear|CameraClearMode| | ||
|ClearColor| | |ClearColor|ColorX|If <code>CameraClearMode</code> is set to <code>Color</code>. | ||
|Viewport|Rect|2D rectangular where the camera is allowed to render | |Viewport|Rect|2D rectangular where the camera is allowed to render | ||
|Depth|Float| | |Depth|Float| | ||
|RenderTexture| | |RenderTexture|{{RootFieldType|AssetRef`1|[[Type:RenderTexture|RenderTexture]]}}|TypeAdv12=true|The RenderTextureProvider input in order to get a ITexture2D | ||
|Postprocessing|Bool|Determines if post processing is allowed. | |Postprocessing|Bool|Determines if post processing is allowed. | ||
|ScreenSpaceReflections|Bool|Determines if [https://en.wikipedia.org/wiki/Reflection_(computer_graphics)#Approaches_to_reflection_rendering ScreenSpaceReflections] are rendered. | |ScreenSpaceReflections|Bool|Determines if [https://en.wikipedia.org/wiki/Reflection_(computer_graphics)#Approaches_to_reflection_rendering ScreenSpaceReflections] are rendered. | ||
|MotionBlur|Bool|Determines if MotionBlur is rendered or not. | |MotionBlur|Bool|Determines if MotionBlur is rendered or not. | ||
|RenderShadows|Bool|Determines if shadows are rendered or not. | |RenderShadows|Bool|Determines if shadows are rendered or not. | ||
|SelectiveRender| | |SelectiveRender|{{RootFieldType|AutoSyncRefList`1|[[Type:Slot|Slot]]}}|TypeAdv17=true|A list of SyncReferences to slots the camera is allowed to render. | ||
|ExcludeRender| | |ExcludeRender|{{RootFieldType|AutoSyncRefList`1|[[Type:Slot|Slot]]}}|TypeAdv18=true|A list of SyncReferences to slots the camera is NOT allowed to render. | ||
}} | }} | ||
Revision as of 21:04, 3 March 2024
The component represents a Unity Camera which is centered on the slot and facing in the forward (+z) direction. The produced image can either be accesed through a RenderTextureProvider component or by creating a Texture2D asset using the Render To Texture Asset Protoflux node.
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image
Fields
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. |
DoubleBuffered
|
Bool | Determines if DoubleBuffering is applied or not. |
ForwardOnly
|
Bool | Determine whether the render technique is only forward. |
Projection
|
CameraProjection | Determines whether it's perspective or orthographic |
OrthographicSize
|
Float | The size of the render-output in orthographic view. (Only active when Projection is set to Orthographic
|
FieldOfView
|
Float | The size of the render-output in perspective view. (Only active when Projection is set to Perspective
|
NearClipping
|
Float | The point in units where the camera ignores near objects. |
FarClipping
|
Float | The point in units where the camera ignores far objects. |
UseTransformScale
|
Bool | Determines if the scale of the camera should be taken into account. |
Clear
|
CameraClearMode | |
ClearColor
|
ColorX | If CameraClearMode is set to Color .
|
Viewport
|
Rect | 2D rectangular where the camera is allowed to render |
Depth
|
Float | |
RenderTexture
|
RenderTexture | The RenderTextureProvider input in order to get a ITexture2D |
Postprocessing
|
Bool | Determines if post processing is allowed. |
ScreenSpaceReflections
|
Bool | Determines if ScreenSpaceReflections are rendered. |
MotionBlur
|
Bool | Determines if MotionBlur is rendered or not. |
RenderShadows
|
Bool | Determines if shadows are rendered or not. |
SelectiveRender
|
direct AutoSyncRefList`1<Slot> | A list of SyncReferences to slots the camera is allowed to render. |
ExcludeRender
|
direct AutoSyncRefList`1<Slot> | A list of SyncReferences to slots the camera is NOT allowed to render. |