s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
published_with_changes
Changes
Release-by-release changelog
Games
Browse Games
Discover Games
gamejams
live now
Game Jam III
Ends
Fri 25 Sep
Theme
One More Round
The jam is running. Build something, or play the entries.
£
50,000
prizepool
View the jam
Workshop
Playable
sports_esports
Games
Standalone games and gamemodes
Assets
landscape
Maps
view_in_ar
Models
texture
Materials
apparel
Clothing
apps
Everything
Every asset type in one list
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
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
Classes
MovieRecorderOptions
chevron_left
Classes
class
MovieRecorderOptions
Constructors
functions
MovieRecorderOptions
Properties
data_object
BufferDuration
data_object
CaptureActions
data_object
ComponentCapturers
data_object
Filters
data_object
SampleRate
Methods
functions
<Clone>$
functions
Deconstruct
functions
WithCaptureAction
functions
WithCaptureAll
functions
WithCaptureComponent
functions
WithCaptureGameObject
functions
WithComponentCapturer
functions
WithDefaultCaptureActions
functions
WithDefaultComponentCapturers
functions
WithFilter
Static Fields
crop_din
DefaultSampleRate
Static Properties
data_object
Default
MovieRecorderOptions
Configures a Sandbox.MovieMaker.MovieRecorder, deciding how often it captures and which properties should be recorded.
class
Sandbox.MovieMaker
.
sealed
Sandbox.Engine
build
Constructors
1
MovieRecorderOptions
(
SampleRate
,
BufferDuration
)
data_object
Properties
5
BufferDuration
Nullable`1
Keep only the most recent samples in memory, with this duration. If
, samples won't be discarded and the recording will keep growing in size until stopped.
CaptureActions
ImmutableArray`1
Delegates called each time Sandbox.MovieMaker.MovieRecorder.Capture is invoked, to control which objects should be recorded. These actions will call Sandbox.MovieMaker.IMovieTrackRecorder.Capture on one or more track recorders.
ComponentCapturers
ImmutableArray`1
When Sandbox.MovieMaker.IMovieTrackRecorder.Capture is called on a component track, any instances in this list that match the component type will be used to decide which properties on that component should be recorded.
Filters
ImmutableArray`1
Decide which objects are allowed to be recorded. Called the first time a Sandbox.GameObject is passed to Sandbox.MovieMaker.MovieRecorder.GetTrackRecorder(Sandbox.GameObject), which will return
if any delegate in this list returns
.
SampleRate
int
How often to capture the value of recorded properties.
functions
Methods
10
<Clone>$
(
)
MovieRecorderOptions
Deconstruct
(
SampleRate
,
BufferDuration
)
WithCaptureAction
(
action
)
MovieRecorderOptions
WithCaptureAll
(
condition
)
MovieRecorderOptions
WithCaptureComponent
(
component
)
MovieRecorderOptions
WithCaptureGameObject
(
gameObject
)
MovieRecorderOptions
WithComponentCapturer
(
)
MovieRecorderOptions
WithDefaultCaptureActions
(
)
MovieRecorderOptions
WithDefaultComponentCapturers
(
)
MovieRecorderOptions
WithFilter
(
filter
)
MovieRecorderOptions
crop_din
Static Fields
1
DefaultSampleRate
int
Default value for Sandbox.MovieMaker.MovieRecorderOptions.SampleRate.
data_object
Static Properties
1
Default
MovieRecorderOptions
Default options, using Sandbox.MovieMaker.MovieRecorderOptions.WithDefaultCaptureActions and Sandbox.MovieMaker.MovieRecorderOptions.WithDefaultComponentCapturers.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.