Table of Contents

Class ParameterInfo

Namespace
nadena.dev.ndmf

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

ParameterInfo

Methods

ForContext(BuildContext)

public static ParameterInfo ForContext(BuildContext context)

Parameters

context BuildContext

Returns

ParameterInfo

ForPreview(ComputeContext)

public static ParameterInfo ForPreview(ComputeContext context)

Parameters

context ComputeContext

Returns

ParameterInfo

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 Component
includeSelf bool

Include component c's mappings in the result

Returns

ImmutableDictionary<(ParameterNamespace, string), ParameterMapping>

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

ImmutableDictionary<(ParameterNamespace, string), ParameterMapping>

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 GameObject

The object to query

onConflict ParameterInfo.ConflictHandler

A callback to receive information about conflicting values.

Returns

IEnumerable<ProvidedParameter>