class
MorphAccessor
public sealed class MorphAccessor Properties
| Name | Type | Description |
|---|---|---|
Names | String[] |
Methods
Void Set(String name, Single weight) Sets a morph override value. Uses a default blend time to smoothly transition from the animation-driven morph to this override.
Void Set(String name, Single weight, Single fadeTime) Sets a morph override value with blending. fadeTime controls how long it takes to blend between the animation-driven morph and this override.
Boolean ContainsOverride(String name) Returns true if we have this value overridden (set). False means its value is likely being driven by animation etc.
Single Get(String name) Get this value
Void Clear(String name) Clears the morph override and returns control to the animation. Uses the default blend time to smoothly transition back.
Void Clear(String name, Single fadeTime) Clears the morph override and returns control to the animation. fadeTime controls how long it takes to blend back to the animation-driven morph.
Assembly:
Sandbox.Engine Declaring Type: SkinnedModelRenderer Full Name: Sandbox.SkinnedModelRenderer.MorphAccessor