# Vector3D.MultiplyVector3D.MultiplyVector3D.MultiplyVector3D.Multiply Operator

## 오버로드

 Multiply(Vector3D, Matrix3D) Multiply(Vector3D, Matrix3D) Multiply(Vector3D, Matrix3D) Multiply(Vector3D, Matrix3D) 지정된 Vector3D 구조체를 사용하여 지정된 Matrix3D 구조체의 좌표 공간을 변환합니다.Transforms the coordinate space of the specified Vector3D structure using the specified Matrix3D structure. Multiply(Double, Vector3D) Multiply(Double, Vector3D) Multiply(Double, Vector3D) Multiply(Double, Vector3D) 지정된 스칼라와 지정된 Vector3D 구조체를 곱하고 그 결과를 Vector3D로 반환합니다.Multiplies the specified scalar by the specified Vector3D structure and returns the result as a Vector3D. Multiply(Vector3D, Double) Multiply(Vector3D, Double) Multiply(Vector3D, Double) Multiply(Vector3D, Double) 지정된 Vector3D 구조체와 지정된 스칼라를 곱하고 그 결과를 Vector3D로 반환합니다.Multiplies the specified Vector3D structure by the specified scalar and returns the result as a Vector3D.

## Multiply(Vector3D, Matrix3D)Multiply(Vector3D, Matrix3D)Multiply(Vector3D, Matrix3D)Multiply(Vector3D, Matrix3D)

지정된 Vector3D 구조체를 사용하여 지정된 Matrix3D 구조체의 좌표 공간을 변환합니다.Transforms the coordinate space of the specified Vector3D structure using the specified Matrix3D structure.

``````public:
static System::Windows::Media::Media3D::Vector3D operator *(System::Windows::Media::Media3D::Vector3D vector, System::Windows::Media::Media3D::Matrix3D matrix);``````
``public static System.Windows.Media.Media3D.Vector3D operator * (System.Windows.Media.Media3D.Vector3D vector, System.Windows.Media.Media3D.Matrix3D matrix);``
``static member ( * ) : System.Windows.Media.Media3D.Vector3D * System.Windows.Media.Media3D.Matrix3D -> System.Windows.Media.Media3D.Vector3D``
``Public Shared Operator * (vector As Vector3D, matrix As Matrix3D) As Vector3D``

#### 매개 변수

vector
Vector3D Vector3D Vector3D Vector3D

변환할 Vector3D 구조체입니다.The Vector3D structure to transform.

matrix
Matrix3D Matrix3D Matrix3D Matrix3D

Vector3D 구조체에 적용할 변환입니다.The transformation to apply to the Vector3D structure.

#### 반환

`vector``matrix`에 따라 변환한 결과입니다.The result of transforming `vector` by `matrix`.

### 예제

다음 예제에서는 오버 로드 된 곱하기 연산자를 사용 하는 방법을 보여 줍니다는 Vector3D 하 여 구조체를 Matrix3D 구조입니다.The following example shows how to use the overloaded multiplication operator to transform a Vector3D structure by a Matrix3D structure.

``````// Multiplies a Vector3D by a Matrix3D using the overloaded * operator.
// Returns a Vector3D.

Vector3D vector1 = new Vector3D(20, 30, 40);
Matrix3D matrix1 = new Matrix3D(10, 10, 10, 0, 20, 20, 20, 0, 30, 30, 30, 0, 5, 10, 15, 1);
Vector3D vectorResult = new Vector3D();

vectorResult = vector1 * matrix1;
// vector Result is equal to (2000, 2000, 2000)
``````
``````' Multiplies a Vector3D by a Matrix3D using the overloaded * operator.
' Returns a Vector3D.

Dim vector1 As New Vector3D(20, 30, 40)
Dim matrix1 As New Matrix3D(10, 10, 10, 0, 20, 20, 20, 0, 30, 30, 30, 0, 5, 10, 15, 1)
Dim vectorResult As New Vector3D()

vectorResult = vector1 * matrix1
' vector Result is equal to (2000, 2000, 2000)
``````
추가 정보

## Multiply(Double, Vector3D)Multiply(Double, Vector3D)Multiply(Double, Vector3D)Multiply(Double, Vector3D)

지정된 스칼라와 지정된 Vector3D 구조체를 곱하고 그 결과를 Vector3D로 반환합니다.Multiplies the specified scalar by the specified Vector3D structure and returns the result as a Vector3D.

``````public:
static System::Windows::Media::Media3D::Vector3D operator *(double scalar, System::Windows::Media::Media3D::Vector3D vector);``````
``public static System.Windows.Media.Media3D.Vector3D operator * (double scalar, System.Windows.Media.Media3D.Vector3D vector);``
``static member ( * ) : double * System.Windows.Media.Media3D.Vector3D -> System.Windows.Media.Media3D.Vector3D``
``Public Shared Operator * (scalar As Double, vector As Vector3D) As Vector3D``

#### 매개 변수

scalar
Double Double Double Double

곱할 스칼라입니다.The scalar to multiply.

vector
Vector3D Vector3D Vector3D Vector3D

곱할 Vector3D 구조체입니다.The Vector3D structure to multiply.

#### 반환

`scalar``vector`를 곱한 결과입니다.The result of multiplying `scalar` and `vector`.

### 예제

다음 예제에서는 방법으로 여러 스칼라를 Vector3D 구조입니다.The following example shows how to multiple a scalar by a Vector3D structure.

``````// Multiplies a Scalar by a Vector3D using the overloaded * operator.
// Returns a Vector3D.

Vector3D vector1 = new Vector3D(20, 30, 40);
Double scalar1 = 75;
Vector3D vectorResult = new Vector3D();

vectorResult = scalar1 * vector1;
// vectorResult is equal to (1500, 2250, 3000)
``````
``````' Multiplies a Scalar by a Vector3D using the overloaded * operator.
' Returns a Vector3D.

Dim vector1 As New Vector3D(20, 30, 40)
Dim scalar1 As Double = 75
Dim vectorResult As New Vector3D()

vectorResult = scalar1 * vector1
' vectorResult is equal to (1500, 2250, 3000)
``````
추가 정보

## Multiply(Vector3D, Double)Multiply(Vector3D, Double)Multiply(Vector3D, Double)Multiply(Vector3D, Double)

지정된 Vector3D 구조체와 지정된 스칼라를 곱하고 그 결과를 Vector3D로 반환합니다.Multiplies the specified Vector3D structure by the specified scalar and returns the result as a Vector3D.

``````public:
static System::Windows::Media::Media3D::Vector3D operator *(System::Windows::Media::Media3D::Vector3D vector, double scalar);``````
``public static System.Windows.Media.Media3D.Vector3D operator * (System.Windows.Media.Media3D.Vector3D vector, double scalar);``
``static member ( * ) : System.Windows.Media.Media3D.Vector3D * double -> System.Windows.Media.Media3D.Vector3D``
``Public Shared Operator * (vector As Vector3D, scalar As Double) As Vector3D``

#### 매개 변수

vector
Vector3D Vector3D Vector3D Vector3D

곱할 Vector3D 구조체입니다.The Vector3D structure to multiply.

scalar
Double Double Double Double

곱할 스칼라입니다.The scalar to multiply.

#### 반환

`vector``scalar`를 곱한 결과입니다.The result of multiplying `vector` and `scalar`.

### 예제

다음 예제에서는 곱할는 Vector3D 스칼라 구조체입니다.The following example shows how to multiply a Vector3D structure by a scalar.

``````// Multiplies a Vector3D by a Scalar using the overloaded * operator.
// Returns a Vector3D.

Vector3D vector1 = new Vector3D(20, 30, 40);
Double scalar1 = 75;
Vector3D vectorResult = new Vector3D();

vectorResult = vector1 * scalar1;
// vectorResult is equal to (1500, 2250, 3000)
``````
``````' Multiplies a Vector3D by a Scalar using the overloaded * operator.
' Returns a Vector3D.

Dim vector1 As New Vector3D(20, 30, 40)
Dim scalar1 As Double = 75
Dim vectorResult As New Vector3D()

vectorResult = vector1 * scalar1
' vectorResult is equal to (1500, 2250, 3000)
``````
추가 정보