Skip to main content

ISpout2Camera

Interface for VNyan's Spout2 camera

Namespace: VNyanInterface

Methods​

getSourceName​

Get camera's Spout2 source name

getSourceName()

Returns: not documented

registerRenderEffect​

Registers custom post processing effect to be ran

registerRenderEffect(IRenderEffect effectCallback)
ParameterTypeDescription
effectCallbackIRenderEffect

getPosition​

Get Camera's position in world space

getPosition()

Returns: not documented

setPosition​

Set Camera's position in world space

setPosition(VNyanVector3 position)
ParameterTypeDescription
positionVNyanVector3

getRotation​

Get Camera's rotation in world space

getRotation()

Returns: not documented

setRotation​

Set Camera's rotation in world space

setRotation(VNyanQuaternion rotation)
ParameterTypeDescription
rotationVNyanQuaternion

getCameraGameObject​

Get camera's GameObject. This is a UnityEngine.GameObject, but since we can't reference UnityEngine in this interface, it is returned as an object.

getCameraGameObject()

Returns: not documented