Ultimate Replay Scripting Reference
ReplaySnapshotRecordInitialReplayObjectData Method |
Attempts to record the initial information about a newly created replay object.
The initial information will only be sroted if the data is not equal to the default value.
Namespace: UltimateReplay.Storage
Assembly: UltimateReplay (in UltimateReplay.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void RecordInitialReplayObjectData( ReplayIdentity identity, Vector3 position, Quaternion rotation, Vector3 scale )
Parameters
- identity
- Type: UltimateReplay.CoreReplayIdentity
The object to store the initial data for - position
- Type: Vector3
The initial position of the object - rotation
- Type: Quaternion
The initial rotation of the object - scale
- Type: Vector3
The initial scale of the object
See Also