| 1 |
X3DInterpolatorNode : X3DChildNode { |
| 2 |
SFFloat [in] set_fraction |
| 3 |
range: (-Inf,Inf) |
| 4 |
MFFloat [in,out] key [] |
| 5 |
range: (-Inf,Inf) |
| 6 |
change: chNone |
| 7 |
|
| 8 |
SFString [in,out] interpolation "LINEAR" |
| 9 |
range: ["LINEAR"|"STEP"] |
| 10 |
enumerated-type: TInterpolation InterpolationNames inLinear |
| 11 |
change: chNone |
| 12 |
} |
| 13 |
|
| 14 |
ColorInterpolator : X3DInterpolatorNode { |
| 15 |
MFColor [in,out] keyValue [] |
| 16 |
range: [0,1] |
| 17 |
change: chNone |
| 18 |
SFColor [out] value_changed |
| 19 |
} |
| 20 |
|
| 21 |
# See https://castle-engine.io/x3d_implementation_interpolation.php |
| 22 |
ColorSetInterpolator : X3DInterpolatorNode { |
| 23 |
MFColor [in,out] keyValue [] |
| 24 |
change: chNone |
| 25 |
MFColor [out] value_changed |
| 26 |
} |
| 27 |
|
| 28 |
CoordinateInterpolator : X3DInterpolatorNode { |
| 29 |
MFVec3f [in,out] keyValue [] |
| 30 |
range: (-Inf,Inf) |
| 31 |
change: chNone |
| 32 |
MFVec3f [out] value_changed |
| 33 |
} |
| 34 |
|
| 35 |
CoordinateInterpolator2D : X3DInterpolatorNode { |
| 36 |
MFVec2f [in,out] keyValue [] |
| 37 |
range: (-Inf,Inf) |
| 38 |
change: chNone |
| 39 |
MFVec2f [out] value_changed |
| 40 |
} |
| 41 |
|
| 42 |
# Note: X3D spec doesn't say this descends from X3DChildNode, |
| 43 |
# but it is natural (where else would you put this node?) |
| 44 |
EaseInEaseOut : X3DChildNode { |
| 45 |
SFFloat [in] set_fraction |
| 46 |
range: (-Inf,Inf) |
| 47 |
MFVec2f [in,out] easeInEaseOut [] |
| 48 |
range: (-Inf,Inf) |
| 49 |
change: chNone |
| 50 |
MFFloat [in,out] key [] |
| 51 |
range: (-Inf,Inf) |
| 52 |
change: chNone |
| 53 |
SFFloat [out] modifiedFraction_changed |
| 54 |
} |
| 55 |
|
| 56 |
NormalInterpolator : X3DInterpolatorNode { |
| 57 |
MFVec3f [in,out] keyValue [] |
| 58 |
range: (-Inf,Inf) |
| 59 |
change: chNone |
| 60 |
MFVec3f [out] value_changed |
| 61 |
} |
| 62 |
|
| 63 |
OrientationInterpolator : X3DInterpolatorNode { |
| 64 |
MFRotation [in,out] keyValue [] |
| 65 |
range: [-1,1] or (-Inf,Inf) |
| 66 |
change: chNone |
| 67 |
SFRotation [out] value_changed |
| 68 |
SFBool [in,out] keyValueQuaternions FALSE |
| 69 |
change: chNone |
| 70 |
doc: When @true, key values are provided as unit quaternions. By default (when @false) they have to be axis angle rotations. This allows extra optimization in case your input data is in quaternions, which is true in case of glTF. It is then most efficient to just put quternions in TOrientationInterpolatorNode.FdKeyValue and set this to @true. Otherwise, you would 1. needlessly convert quaternion -> axisangle when reading glTF file, 2. needlessly convert axisangle -> quaternion as a first step of SLerp. |
| 71 |
} |
| 72 |
|
| 73 |
PositionInterpolator : X3DInterpolatorNode { |
| 74 |
MFVec3f [in,out] keyValue [] |
| 75 |
range: (-Inf,Inf) |
| 76 |
change: chNone |
| 77 |
SFVec3f [out] value_changed |
| 78 |
} |
| 79 |
|
| 80 |
PositionInterpolator2D : X3DInterpolatorNode { |
| 81 |
MFVec2f [in,out] keyValue [] |
| 82 |
range: (-Inf,Inf) |
| 83 |
change: chNone |
| 84 |
SFVec2f [out] value_changed |
| 85 |
} |
| 86 |
|
| 87 |
ScalarInterpolator : X3DInterpolatorNode { |
| 88 |
MFFloat [in,out] keyValue [] |
| 89 |
range: (-Inf,Inf) |
| 90 |
change: chNone |
| 91 |
SFFloat [out] value_changed |
| 92 |
} |
| 93 |
|
| 94 |
SplinePositionInterpolator : X3DInterpolatorNode { |
| 95 |
SFBool [in,out] closed FALSE |
| 96 |
change: chNone |
| 97 |
MFVec3f [in,out] keyValue [] |
| 98 |
range: (-Inf,Inf) |
| 99 |
change: chNone |
| 100 |
MFVec3f [in,out] keyVelocity [] |
| 101 |
range: (-Inf,Inf) |
| 102 |
change: chNone |
| 103 |
SFBool [in,out] normalizeVelocity FALSE |
| 104 |
change: chNone |
| 105 |
SFVec3f [out] value_changed |
| 106 |
} |
| 107 |
|
| 108 |
SplinePositionInterpolator2D : X3DInterpolatorNode { |
| 109 |
SFBool [in,out] closed FALSE |
| 110 |
change: chNone |
| 111 |
MFVec2f [in,out] keyValue [] |
| 112 |
range: (-Inf,Inf) |
| 113 |
change: chNone |
| 114 |
MFVec2f [in,out] keyVelocity [] |
| 115 |
range: (-Inf,Inf) |
| 116 |
change: chNone |
| 117 |
SFBool [in,out] normalizeVelocity FALSE |
| 118 |
change: chNone |
| 119 |
SFVec2f [out] value_changed |
| 120 |
} |
| 121 |
|
| 122 |
SplineScalarInterpolator : X3DInterpolatorNode { |
| 123 |
SFBool [in,out] closed FALSE |
| 124 |
change: chNone |
| 125 |
MFFloat [in,out] keyValue [] |
| 126 |
range: (-Inf,Inf) |
| 127 |
change: chNone |
| 128 |
MFFloat [in,out] keyVelocity [] |
| 129 |
range: (-Inf,Inf) |
| 130 |
change: chNone |
| 131 |
SFBool [in,out] normalizeVelocity FALSE |
| 132 |
change: chNone |
| 133 |
SFFloat [out] value_changed |
| 134 |
} |
| 135 |
|
| 136 |
SquadOrientationInterpolator : X3DInterpolatorNode { |
| 137 |
MFRotation [in,out] keyValue [] |
| 138 |
range: (-Inf,Inf) |
| 139 |
change: chNone |
| 140 |
SFBool [in,out] normalizeVelocity FALSE |
| 141 |
change: chNone |
| 142 |
SFRotation [out] value_changed |
| 143 |
} |
| 144 |
|
| 145 |
VectorInterpolator : X3DInterpolatorNode { |
| 146 |
MFFloat [in,out] keyValue [] |
| 147 |
change: chNone |
| 148 |
MFFloat [out] value_changed |
| 149 |
} |