InterpolateSpeedCurve
How do I use Interpolate Speed Curve
Below are practical examples compiled from projects for learning and reference purposes
Featured Snippets
Line | Code | Ex.. |
---|---|---|
35 | public AnimationCurve InterpolateSpeedCurve = new AnimationCurve( new Keyframe[] { | 1 |
File name: PhotonTransformViewPositionModel.cs
Copy
35 public AnimationCurve InterpolateSpeedCurve = new AnimationCurve( new Keyframe[] {
36 new Keyframe( -1, 0, 0, Mathf.Infinity ),
37 new Keyframe( 0, 1, 0, 0 ),
38 new Keyframe( 1, 1, 0, 1 ),
39 new Keyframe( 4, 4, 1, 0 ) } );
InterpolateSpeedCurve 129 lượt xem
Gõ tìm kiếm nhanh...