RampForceEffect.SetParametersWithEnvelope メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
効果のパラメーターを設定し、効果のエンベロープを設定します。
public:
virtual void SetParametersWithEnvelope(float3 startVector, float3 endVector, float attackGain, float sustainGain, float releaseGain, TimeSpan startDelay, TimeSpan attackDuration, TimeSpan sustainDuration, TimeSpan releaseDuration, unsigned int repeatCount) = SetParametersWithEnvelope;
void SetParametersWithEnvelope(float3 const& startVector, float3 const& endVector, float const& attackGain, float const& sustainGain, float const& releaseGain, TimeSpan const& startDelay, TimeSpan const& attackDuration, TimeSpan const& sustainDuration, TimeSpan const& releaseDuration, uint32_t const& repeatCount);
public void SetParametersWithEnvelope(Vector3 startVector, Vector3 endVector, float attackGain, float sustainGain, float releaseGain, System.TimeSpan startDelay, System.TimeSpan attackDuration, System.TimeSpan sustainDuration, System.TimeSpan releaseDuration, uint repeatCount);
function setParametersWithEnvelope(startVector, endVector, attackGain, sustainGain, releaseGain, startDelay, attackDuration, sustainDuration, releaseDuration, repeatCount)
Public Sub SetParametersWithEnvelope (startVector As Vector3, endVector As Vector3, attackGain As Single, sustainGain As Single, releaseGain As Single, startDelay As TimeSpan, attackDuration As TimeSpan, sustainDuration As TimeSpan, releaseDuration As TimeSpan, repeatCount As UInteger)
パラメーター
- attackGain
-
Single
float
上昇中の効果の強度を低下させる割合。
- sustainGain
-
Single
float
持続している場合に効果の強度を低下させる割合。
- releaseGain
-
Single
float
ランプダウン時の効果の強度を下げる割合。
- repeatCount
-
UInt32
unsigned int
uint32_t
効果を繰り返す回数。