Skip to main content

Plugin API

Reference for the VNyanInterface assembly, which gives plugins and mods access to VNyan's functionality. Everything lives in the VNyanInterface namespace, and the entry point is the VNyanInterface class.

Entry point​

TypeDescription
VNyanInterfaceContains all the interfaces to access VNyan's functionality

Interfaces to access VNyan's functionality​

TypeDescription
IParameterInterfaceParameter related functionality
IAvatarInterfaceAvatar related functionality
IPendulumInterfaceFunctionality related to pendulum chains
IPendulumRootInterface for handling pendulum root
IPendulumChainInterface for individual pendulum chain bones
IRenderInterfaceInterface for handling VNyan's post processing effects
ISpout2CameraInterface for VNyan's Spout2 camera
ISettingsInterfaceInterface for handling settings files
ITriggerInterfaceInterface for utilizing VNyan's Trigger Nodes from plugins
IUIInterfaceInterface for handling user interface related functions
IVNyanNetInterfaceInterface for handling network related functions
IAudioLinkInterfaceInterface for controlling VNyan's AudioLink itegration

Interfaces that can be implemented in plugin code​

TypeDescription
IVNyanPluginManifestManifest required to start plugins automatically without the need for a loader asset bundle. This is only needed for plugins so no need to add for mods or custom scripts that will be added to asset bundles anyway
IPoseLayerUsed to affect avatar's bone rotations and positions
IRenderEffectPost processing effect interface
IBlendshapeProcessingListenerUsed to hook up to blendshape processing pipeline. Gets executed before node based blendshape processing
ITriggerHandlerTrigger callback interface
IRPCHandlerVNyanNet RPC callback interface
IConnectionHandlerConnection event callback interface
IButtonClickedHandlerInterface for handling plugin window button clicks

Data types​

TypeDescription
VNyanVector3Vector3 component
VNyanQuaternionQuaternion
PoseLayerFrameFrame for pose layer
InternalParameterTypeBuilt in parameters
ThemeComponentthe different elements of a VNyan Color Theme