Click or drag to resize

UtilMultiply Method

Scale elements of a Vector3 by the corresponding elements of another Vector3.

Namespace:  Demo3D.Common
Assembly:  Demo3D.Common (in Demo3D.Common.dll) Version: 10.0.7983.28765
Syntax
C#
public static Vector3 Multiply(
	Vector3 p,
	Vector3 m
)

Parameters

p
Type: Microsoft.DirectXVector3
Vector3 to scale.
m
Type: Microsoft.DirectXVector3
Vector3 to scale by.

Return Value

Type: Vector3
Scaled Vector3.
Remarks
Equivalent to
new Vector3(p.X * m.X, p.Y * m.Y, p.Z * m.Z)
.
See Also