Class ParameterInfo
Provides information about VRChat Expression Parameters and animator parameters generated by NDMF-registered components.
public sealed class ParameterInfo
- Inheritance
-
ParameterInfo
- Inherited Members
Fields
ForUI
public static readonly ParameterInfo ForUI
Field Value
Methods
ForContext(BuildContext)
public static ParameterInfo ForContext(BuildContext context)
Parameters
contextBuildContext
Returns
ForPreview(ComputeContext)
public static ParameterInfo ForPreview(ComputeContext context)
Parameters
contextComputeContext
Returns
GetParameterRemappingsAt(Component, bool)
Determines what parameter name remappings are effective at a given component (including any mappings applied by siblings).
public ImmutableDictionary<(ParameterNamespace, string), ParameterMapping> GetParameterRemappingsAt(Component c, bool includeSelf)
Parameters
cComponentincludeSelfboolInclude component c's mappings in the result
Returns
GetParameterRemappingsAt(GameObject)
Determines what parameter name remappings are effective at a given game object.
public ImmutableDictionary<(ParameterNamespace, string), ParameterMapping> GetParameterRemappingsAt(GameObject obj)
Parameters
objGameObject
Returns
GetParametersForObject(GameObject, ConflictHandler)
Enumerates a GameObject and all children, querying for components which provide parameters, and returns what was found.
public IEnumerable<ProvidedParameter> GetParametersForObject(GameObject obj, ParameterInfo.ConflictHandler onConflict = null)
Parameters
objGameObjectThe object to query
onConflictParameterInfo.ConflictHandlerA callback to receive information about conflicting values.