VRCCameraSettings.GetCurrentCamera - UdonGraph Passes Input Values to Output when Given
tracked
BobyStar
- Create an UdonGraph using VRCCameraSettings.GetCurrentCamera node from a OnWillRenderObject event. (This needs to be on a renderer to work, as per unity docs!)
- Create two variables with types VRCCameraSettings and Camera.
- Plug the two variables into the inputs of the VRCCameraSettings.GetCurrentCamera node.
- Notice that outputs appear to be the same as inputs without modification.
- Unplug the inputs from the VRCameraSettings.GetCurrentCamera.
- Notice that outputs now are giving expected values.
The inputs provided in the node cause confusion and don't seem to have a purpose. In UdonSharp you must provide your own variables in order to get output values, this seems similar in UdonGraph but it appears to do this on it's own already.
Log In
StormRel
tracked