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)
| Parameter | Type | Description |
|---|---|---|
effectCallback | IRenderEffect |
getPosition
Get Camera's position in world space
getPosition()
Returns: not documented
setPosition
Set Camera's position in world space
setPosition(VNyanVector3 position)
| Parameter | Type | Description |
|---|---|---|
position | VNyanVector3 |
getRotation
Get Camera's rotation in world space
getRotation()
Returns: not documented
setRotation
Set Camera's rotation in world space
setRotation(VNyanQuaternion rotation)
| Parameter | Type | Description |
|---|---|---|
rotation | VNyanQuaternion |
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