次の方法で共有


RampForceEffect.SetParametersWithEnvelope メソッド

定義

効果のパラメーターを設定し、効果のエンベロープを設定します。

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)

パラメーター

startVector
Vector3 Vector3

float3

効果の開始ベクトル。

endVector
Vector3 Vector3

float3

効果の終了ベクトル。

attackGain
Single

float

上昇中の効果の強度を低下させる割合。

sustainGain
Single

float

持続している場合に効果の強度を低下させる割合。

releaseGain
Single

float

ランプダウン時の効果の強度を下げる割合。

startDelay
TimeSpan TimeSpan

開始する前に効果を遅延させる時間。

attackDuration
TimeSpan TimeSpan

効果の完全な強度まで上昇する時間。

sustainDuration
TimeSpan TimeSpan

完全な強度で効果を維持する時間。

releaseDuration
TimeSpan TimeSpan

完全な強度からゼロに急上昇する時間。

repeatCount
UInt32

unsigned int

uint32_t

効果を繰り返す回数。

適用対象