s&
newspaper
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
rocket
Discover Games
business_center
Workshop
sports_esports
Games
landscape
Maps
chair
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
docs
Docs
docs
Documentation
dashboard
Api Reference
school
Tutorials
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Components
MoviePlayer
chevron_left
Components
class
MoviePlayer
search
Constructors
functions
MoviePlayer
Properties
data_object
Binder
data_object
Clip
data_object
CreateTargets
data_object
IsLooping
data_object
IsPlaying
data_object
Position
data_object
PositionSeconds
data_object
Resource
data_object
TimeScale
Methods
functions
Play
functions
UpdateTargets
Static Methods
functions
BeginApplyFrame
MoviePlayer
Plays a Sandbox.MovieMaker.IMovieClip in a Sandbox.Scene to animate properties over time.
class
Sandbox.MovieMaker
.
account_tree
extends
Component
sealed
Sandbox.Engine
build
Constructors
1
MoviePlayer
(
)
data_object
Properties
9
Binder
TrackBinder
Maps Sandbox.MovieMaker.ITracks to game objects, components, and property Sandbox.MovieMaker.ITrackTargets in the scene.
Clip
IMovieClip
CreateTargets
bool
If true, creates any missing Sandbox.GameObjects and Sandbox.Components for the current movie to target.
IsLooping
bool
IsPlaying
bool
Position
MovieTime
PositionSeconds
float
Resource
IMovieResource
Contains a Sandbox.MovieMaker.IMovieClip to play. Can be a Sandbox.MovieMaker.MovieResource or Sandbox.MovieMaker.EmbeddedMovieResource.
TimeScale
float
functions
Methods
2
Play
(
)
Play the current movie from the start.
UpdateTargets
(
)
Forces the creation of any missing Sandbox.GameObjects or Sandbox.Components for the current Sandbox.MovieMaker.MoviePlayer.Clip to target.
functions
Static Methods
1
BeginApplyFrame
(
player
)
IDisposable
Creates a scope for applying a frame in a Sandbox.MovieMaker.MoviePlayer. Dispose after modifying any properties controlled by the movie.
Inheritance
Component
MoviePlayer
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.