Class AlembicExporter
Component that records the Unity Scene state and exports it as an Alembic file. This class records only in Play Mode.
Namespace: UnityEngine.Formats.Alembic.Exporter
Syntax
public class AlembicExporter : MonoBehaviour
Properties
CaptureOnStart
Enable to start capturing immediately after entering the Play Mode.
Declaration
public bool CaptureOnStart { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
IgnoreFirstFrame
Enable to skip capturing the first frame (only available when CaptureOnStart is enabled).
Declaration
public bool IgnoreFirstFrame { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
MaxCaptureFrame
Get or set the number of frames to capture. If set to 0, the capture runs indefinitely.
Declaration
public int MaxCaptureFrame { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Recorder
Reference to the Alembic recorder (lower level class that implements most of the functionality).
Declaration
public AlembicRecorder Recorder { get; }
Property Value
Type | Description |
---|---|
AlembicRecorder |
Methods
BeginRecording()
Starts a recording session. Use this method if CaptureOnStart is disabled.
Declaration
public void BeginRecording()
EndRecording()
Ends the recording session.
Declaration
public void EndRecording()
OneShot()
Exports only the current frame.
Declaration
public void OneShot()