Package com.prineside.tdi2.ui.shared
Class CameraTools.Scenario
java.lang.Object
com.prineside.tdi2.ui.shared.CameraTools.Scenario
- Enclosing class:
 - CameraTools
 
- 
Nested Class Summary
Nested Classes - 
Field Summary
FieldsModifier and TypeFieldDescriptionintintint - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptioncalculate(float time) static CameraTools.ScenariodoublegetKeyframe(int frame) voidremoveKeyframe(int frame) setKeyframe(int frame, float x, InterpolationType iX, float y, InterpolationType iY, float z, InterpolationType iZ) voidsetKeyframeX(int frame, float x, InterpolationType iX) voidsetKeyframeY(int frame, float y, InterpolationType iY) voidsetKeyframeZ(int frame, float z, InterpolationType iZ) voidInside writeObjectStart() 
- 
Field Details
- 
name
 - 
fps
public int fps - 
length
public int length - 
startFrame
public int startFrame - 
keyframes
 
 - 
 - 
Constructor Details
- 
Scenario
public Scenario() 
 - 
 - 
Method Details
- 
getDuration
public double getDuration()- Returns:
 - duration of the scenario in seconds
 
 - 
calculate
 - 
getKeyframe
 - 
removeKeyframe
public void removeKeyframe(int frame)  - 
setKeyframe
public CameraTools.Scenario.Keyframe setKeyframe(int frame, float x, InterpolationType iX, float y, InterpolationType iY, float z, InterpolationType iZ)  - 
setKeyframeX
 - 
setKeyframeY
 - 
setKeyframeZ
 - 
fromJson
 - 
toJson
Inside writeObjectStart() 
 -