Class ShadowBoneTestFixture
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
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
rendererMapIReadOnlyDictionary<Renderer, Renderer>operationFunc<T>
Returns
- T
Type Parameters
T
SyncPoses()
Synchronizes all shadow-bone poses with their source transforms.
public void SyncPoses()