お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Close直線上にある2つのベクトル間を補間します
from
で from
と to
の間を補間します。
from
は [0...1]の間に制限されています。
from
= 0 の時は from
を返します。
to
= 1 の時は to
を返します。
from
= 0.5 の時は from
と to
の平均(ちょうど真ん中)を返します。