ドキュメント

Unity Engine

Unity Engine

cross

Returns the cross product of two float3 vectors.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

cross(float3, float3)

Returns the cross product of two float3 vectors.
public static float3 cross(float3 x, float3 y)

Parameters

First vector to use in cross product.

Second vector to use in cross product.

Returns

Type

Description

float3The cross product of x and y.

cross(double3, double3)

Returns the cross product of two double3 vectors.
public static double3 cross(double3 x, double3 y)

Parameters

First vector to use in cross product.

Second vector to use in cross product.

Returns

Type

Description

double3The cross product of x and y.