Bitmap for UWP
ClampRef メソッド (Vector2)

C1.UWP.DX アセンブリ > C1.Util.DX 名前空間 > Vector2 構造体 : ClampRef メソッド
When the method completes, contains an the restricted vector.
The vector to restrict.
The minimum value.
The maximum value.
Restricts a vector between a minimum and a maximum value.
シンタックス
'宣言
 
Public Shared Sub ClampRef( _
   ByRef result As Vector2, _
   ByRef value As Vector2, _
   ByRef min As Vector2, _
   ByRef max As Vector2 _
) 
public static void ClampRef( 
   out Vector2 result,
   ref Vector2 value,
   ref Vector2 min,
   ref Vector2 max
)

パラメータ

result
When the method completes, contains an the restricted vector.
value
The vector to restrict.
min
The minimum value.
max
The maximum value.
参照

Vector2 構造体
Vector2 メンバ