API ReferenceSandbox
public sealed class Sandbox.AnimationBuilder
Provides ability to generate animations for a `Sandbox.Model` at runtime. See `Sandbox.ModelBuilder.AddAnimation(System.String,System.Single)`
Methods
Showing 7 methods
public Sandbox.AnimationBuilder WithDelta(bool delta = True)
Sets whether the animation adds to the base result.
Parameters
delta: Default: True
public Sandbox.AnimationBuilder WithFrameRate(float frameRate)
Sets the frames per second of the animation.
public Sandbox.AnimationBuilder WithInterpolationDisabled(bool disableInterpolation = True)
Sets whether interpolation between frames is disabled.
Parameters
disableInterpolation: Default: True
public Sandbox.AnimationBuilder WithLooping(bool looping = True)
Sets whether the animation loops.
Parameters
looping: Default: True
public Sandbox.AnimationBuilder WithName(string name)
Sets the name of the animation.
No results match this filter.
Properties
Showing 6 properties
public bool Sandbox.AnimationBuilder.Delta { get; set; }
This animation "adds" to the base result.
public bool Sandbox.AnimationBuilder.DisableInterpolation { get; set; }
This animation disables interpolation between frames.
public int Sandbox.AnimationBuilder.FrameCount { get; set; }
The number of frames in the animation.
public float Sandbox.AnimationBuilder.FrameRate { get; set; }
The frames per second of the animation.
public bool Sandbox.AnimationBuilder.Looping { get; set; }
This animation loops.
public string Sandbox.AnimationBuilder.Name { get; set; }
The name of the animation.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.AnimationBuilder |