編集

次の方法で共有


SCNVector4.BaryCentric Method

Definition

Overloads

BaryCentric(SCNVector4, SCNVector4, SCNVector4, Single, Single, SCNVector4)

Interpolates a, b, and c, by using the barycentric coordinates u and v, and stores the result in result.

BaryCentric(SCNVector4, SCNVector4, SCNVector4, nfloat, nfloat, SCNVector4)
BaryCentric(SCNVector4, SCNVector4, SCNVector4, nfloat, nfloat)
BaryCentric(SCNVector4, SCNVector4, SCNVector4, Single, Single)

Interpolates a, b, and c, by using the barycentric coordinates u and v.

BaryCentric(SCNVector4, SCNVector4, SCNVector4, Single, Single, SCNVector4)

Interpolates a, b, and c, by using the barycentric coordinates u and v, and stores the result in result.

public static void BaryCentric (ref SceneKit.SCNVector4 a, ref SceneKit.SCNVector4 b, ref SceneKit.SCNVector4 c, float u, float v, out SceneKit.SCNVector4 result);
static member BaryCentric :  *  *  * single * single *  -> unit

Parameters

u
Single
v
Single
result
SCNVector4

Remarks

When u and v are both 0, the result is a. When u it 1 and v is 0, the result is b. When u is 0 and v is 1, the result is c. Otherwise, a weighted combination of the three input vectors results.

Applies to

BaryCentric(SCNVector4, SCNVector4, SCNVector4, nfloat, nfloat, SCNVector4)

public static void BaryCentric (ref SceneKit.SCNVector4 a, ref SceneKit.SCNVector4 b, ref SceneKit.SCNVector4 c, nfloat u, nfloat v, out SceneKit.SCNVector4 result);
static member BaryCentric :  *  *  * nfloat * nfloat *  -> unit

Parameters

u
nfloat
v
nfloat
result
SCNVector4

Applies to

BaryCentric(SCNVector4, SCNVector4, SCNVector4, nfloat, nfloat)

public static SceneKit.SCNVector4 BaryCentric (SceneKit.SCNVector4 a, SceneKit.SCNVector4 b, SceneKit.SCNVector4 c, nfloat u, nfloat v);
static member BaryCentric : SceneKit.SCNVector4 * SceneKit.SCNVector4 * SceneKit.SCNVector4 * nfloat * nfloat -> SceneKit.SCNVector4

Parameters

u
nfloat
v
nfloat

Returns

Applies to

BaryCentric(SCNVector4, SCNVector4, SCNVector4, Single, Single)

Interpolates a, b, and c, by using the barycentric coordinates u and v.

public static SceneKit.SCNVector4 BaryCentric (SceneKit.SCNVector4 a, SceneKit.SCNVector4 b, SceneKit.SCNVector4 c, float u, float v);
static member BaryCentric : SceneKit.SCNVector4 * SceneKit.SCNVector4 * SceneKit.SCNVector4 * single * single -> SceneKit.SCNVector4

Parameters

u
Single
v
Single

Returns

When u and v are both 0, the result is a. When u it 1 and v is 0, the result is b. When u is 0 and v is 1, the result is c. Otherwise, a weighted combination of the three input vectors is returned.

Applies to