Class Vector3Curve
Inheritance
System.Object
Vector3Curve
Fields
isConstant
Is the vector a curve or constant
Field Value
| Type | System.Boolean |
|---|
x
Constant x value
Field Value
| Type | System.Single |
|---|
xCurve
x value over time
Field Value
| Type | UnityEngine.AnimationCurve |
|---|
y
Constant y value
Field Value
| Type | System.Single |
|---|
yCurve
y value over time
Field Value
| Type | UnityEngine.AnimationCurve |
|---|
z
Constant z value
Field Value
| Type | System.Single |
|---|
zCurve
z value over time
Field Value
| Type | UnityEngine.AnimationCurve |
|---|
Methods
Value(Single)
Value at current time
Parameters
| Type | Name | Description |
|---|---|---|
| System.Single | t | Current time |
Returns
| Type | Description |
|---|---|
| UnityEngine.Vector3 | Time in curve or constant value |
Zero()
Creates a new curve that is constant 0
Returns
| Type | Description |
|---|---|
| Vector3Curve | Instance of curve constant 0 |