public sealed class Sandbox.MovieMaker.MoviePlayer : Sandbox.Component
Plays a `Sandbox.MovieMaker.IMovieClip` in a `Sandbox.Scene` to animate properties over time.
Related Guides
Broader workflow and conceptual references connected to this API.
You can define movies and play them back using C#.
You can record gameplay into a MovieClip, which can be played back or imported into Movie Maker for editing. This could be useful for killcams in shooters, leaderboard replays in racing games, or for capturing gameplay to edit into a trailer.
Constructors
Showing 1 constructors
public MoviePlayer()
No results match this filter.
Methods
Showing 4 methods
public void UpdateTargets()
Forces the creation of any missing `Sandbox.GameObject`s or `Sandbox.Component`s for the current `Sandbox.MovieMaker.MoviePlayer.Clip` to target.
No results match this filter.
Properties
Showing 9 properties
public Sandbox.MovieMaker.TrackBinder Sandbox.MovieMaker.MoviePlayer.Binder { get; set; }
Maps `Sandbox.MovieMaker.ITrack`s to game objects, components, and property `Sandbox.MovieMaker.ITrackTarget`s in the scene.
public Sandbox.MovieMaker.IMovieClip Sandbox.MovieMaker.MoviePlayer.Clip { get; set; }
public bool Sandbox.MovieMaker.MoviePlayer.CreateTargets { get; set; }
If true, creates any missing `Sandbox.GameObject`s and `Sandbox.Component`s for the current movie to target.
public bool Sandbox.MovieMaker.MoviePlayer.IsLooping { get; set; }
public bool Sandbox.MovieMaker.MoviePlayer.IsPlaying { get; set; }
public Sandbox.MovieMaker.MovieTime Sandbox.MovieMaker.MoviePlayer.Position { get; set; }
public float Sandbox.MovieMaker.MoviePlayer.PositionSeconds { get; set; }
public Sandbox.MovieMaker.IMovieResource Sandbox.MovieMaker.MoviePlayer.Resource { get; set; }
Contains a `Sandbox.MovieMaker.IMovieClip` to play. Can be a `Sandbox.MovieMaker.MovieResource` or `Sandbox.MovieMaker.EmbeddedMovieResource`.
public float Sandbox.MovieMaker.MoviePlayer.TimeScale { get; set; }
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox.MovieMaker |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.MovieMaker.MoviePlayer |