Table of Contents

Class VirtualLayer

Namespace
nadena.dev.ndmf.animator

A layer within a VirtualAnimatorController

public sealed class VirtualLayer : VirtualNode
Inheritance
VirtualLayer
Inherited Members

Properties

AvatarMask

public VirtualAvatarMask? AvatarMask { get; set; }

Property Value

VirtualAvatarMask

BlendingMode

public AnimatorLayerBlendingMode BlendingMode { get; set; }

Property Value

AnimatorLayerBlendingMode

DefaultWeight

public float DefaultWeight { get; set; }

Property Value

float

IKPass

public bool IKPass { get; set; }

Property Value

bool

IsOriginalLayer

public bool IsOriginalLayer { get; set; }

Property Value

bool

Name

public string Name { get; set; }

Property Value

string

StateMachine

public VirtualStateMachine? StateMachine { get; set; }

Property Value

VirtualStateMachine

SyncedLayerAffectsTiming

public bool SyncedLayerAffectsTiming { get; set; }

Property Value

bool

SyncedLayerBehaviourOverrides

public ImmutableDictionary<VirtualState, ImmutableList<StateMachineBehaviour>> SyncedLayerBehaviourOverrides { get; set; }

Property Value

ImmutableDictionary<VirtualState, ImmutableList<StateMachineBehaviour>>

SyncedLayerIndex

public int SyncedLayerIndex { get; set; }

Property Value

int

SyncedLayerMotionOverrides

public ImmutableDictionary<VirtualState, VirtualMotion> SyncedLayerMotionOverrides { get; set; }

Property Value

ImmutableDictionary<VirtualState, VirtualMotion>

VirtualLayerIndex

Returns a "virtual layer index" which can be used to map to the actual layer index in the animator controller, even if layer order changes. This will typically be a very large value (>2^16).

public int VirtualLayerIndex { get; }

Property Value

int

Methods

Create(CloneContext, string)

public static VirtualLayer Create(CloneContext context, string name = "(unnamed)")

Parameters

context CloneContext
name string

Returns

VirtualLayer

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

_EnumerateChildren()

protected override IEnumerable<VirtualNode> _EnumerateChildren()

Returns

IEnumerable<VirtualNode>