次の方法で共有


Vector4.SmoothStep Method (Vector4, Vector4, Single)

Interpolates between two values using a cubic equation.

Syntax

'Declaration
Public Shared Function SmoothStep ( _
         value1 As Vector4, _
         value2 As Vector4, _
         amount As Single _
) As Vector4 
public static Vector4 SmoothStep (
         Vector4 value1,
         Vector4 value2,
         float amount
)
public:
static Vector4 SmoothStep(
         Vector4 value1,
         Vector4 value2,
         float amount
)

Parameters

  • value1
    Type: Vector4
    Source value.
  • value2
    Type: Vector4
    Source value.
  • amount
    Type: Single
    Weighting value.

Return Value

Type: Vector4
Interpolated value.

Requirements

Namespace: Microsoft.Xna.Framework

Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

See Also

Reference

Vector4 Structure
Vector4 Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone