Time Rewizer  v.1.1
Created by: Mark Oostveen
MarkOostveen.TimeRewizer.PositionRotationRewizer.SnapshotData Struct Reference

Snapshot data for PositionRotationVelocityRewinding More...

+ Collaboration diagram for MarkOostveen.TimeRewizer.PositionRotationRewizer.SnapshotData:

Package Functions

 SnapshotData (Vector3 postion, Quaternion rotation)
 create new data instance More...
 

Properties

Vector3 Position [get, set]
 returns position vector More...
 
Quaternion Rotation [get, set]
 returns rotation quaternion More...
 

Detailed Description

Snapshot data for PositionRotationVelocityRewinding

Constructor & Destructor Documentation

◆ SnapshotData()

MarkOostveen.TimeRewizer.PositionRotationRewizer.SnapshotData.SnapshotData ( Vector3  postion,
Quaternion  rotation 
)
package

create new data instance

Parameters
postion
rotation
71  {
72  Position = postion;
73  Rotation = rotation;
74  }

Property Documentation

◆ Position

Vector3 MarkOostveen.TimeRewizer.PositionRotationRewizer.SnapshotData.Position
getset

returns position vector

79 { get; set; }

◆ Rotation

Quaternion MarkOostveen.TimeRewizer.PositionRotationRewizer.SnapshotData.Rotation
getset

returns rotation quaternion

84 { get; set; }