Table of Contents

Class ShadowBoneTestFixture

Namespace
nadena.dev.ndmf.preview

Provides a real shadow-bone manager for preview tests.

public sealed class ShadowBoneTestFixture : IDisposable
Inheritance
ShadowBoneTestFixture
Implements
Inherited Members

Constructors

ShadowBoneTestFixture()

Initializes a shadow-bone manager for preview tests.

public ShadowBoneTestFixture()

Properties

Handle

Gets the shadow-bone manager handle for use by the preview context.

public IShadowBoneManagerHandle Handle { get; }

Property Value

IShadowBoneManagerHandle

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

ExecuteInStageSync<T>(IReadOnlyDictionary<Renderer, Renderer>, Func<T>)

Runs one synchronous operation in a fresh stage emulating a render-filter instantation task and commits its shadow-bone replacements.

public T ExecuteInStageSync<T>(IReadOnlyDictionary<Renderer, Renderer> rendererMap, Func<T> operation) where T : class

Parameters

rendererMap IReadOnlyDictionary<Renderer, Renderer>
operation Func<T>

Returns

T

Type Parameters

T

SyncPoses()

Synchronizes all shadow-bone poses with their source transforms.

public void SyncPoses()