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
context
BuildContext
Returns
ForPreview(ComputeContext)
public static ParameterInfo ForPreview(ComputeContext context)
Parameters
context
ComputeContext
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
c
ComponentincludeSelf
boolInclude 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
obj
GameObject
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
obj
GameObjectThe object to query
onConflict
ParameterInfo.ConflictHandlerA callback to receive information about conflicting values.