ProfileRecorderPlugin
此内容尚不支持你的语言。
Defined in: sdk/src/app/profileRecorder.ts:165
Installs a ProfileRecorder and hands it to the game. Recording is NOT started: a shipped build pays for the instrumentation only from the moment something asks it to.
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ProfileRecorderPlugin(
options_?,onReady_?):ProfileRecorderPlugin
Defined in: sdk/src/app/profileRecorder.ts:170
Parameters
Section titled “Parameters”options_?
Section titled “options_?”onReady_?
Section titled “onReady_?”(recorder) => void
Returns
Section titled “Returns”ProfileRecorderPlugin
Properties
Section titled “Properties”
readonlyname:"profileRecorder"='profileRecorder'
Defined in: sdk/src/app/profileRecorder.ts:166
Implementation of
Section titled “Implementation of”profileDomain
Section titled “profileDomain”
readonlyprofileDomain:"diagnostics"='diagnostics'
Defined in: sdk/src/app/profileRecorder.ts:167
Cost domain the profiler files this plugin’s systems under. Defaults to
name; declare it where the two differ, as camera producing render.
Implementation of
Section titled “Implementation of”Accessors
Section titled “Accessors”recorder
Section titled “recorder”Get Signature
Section titled “Get Signature”get recorder():
ProfileRecorder|null
Defined in: sdk/src/app/profileRecorder.ts:176
The recorder, once the plugin has been built into an App.
Returns
Section titled “Returns”ProfileRecorder | null
Methods
Section titled “Methods”build()
Section titled “build()”build(
app):void
Defined in: sdk/src/app/profileRecorder.ts:180
Parameters
Section titled “Parameters”Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”cleanup()
Section titled “cleanup()”cleanup():
void
Defined in: sdk/src/app/profileRecorder.ts:185
Releases acquired resources on quit or a failed build; must tolerate a partially completed build.
Returns
Section titled “Returns”void