VectorMultiply Operator (Scalar, Vector) |
Multiply a vector by a scalar.
Namespace:
AGI.Foundation.Geometry
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public static Vector operator *(
Scalar factor,
Vector vector
)
Public Shared Operator * (
factor As Scalar,
vector As Vector
) As Vector
public:
static Vector^ operator *(
Scalar^ factor,
Vector^ vector
)
static let inline (*)
factor : Scalar *
vector : Vector : Vector
Parameters
- factor
- Type: AGI.Foundation.GeometryScalar
The scale factor. - vector
- Type: AGI.Foundation.GeometryVector
The vector to scale.
Return Value
Type:
VectorA new vector representing the old vector multiplied by the given factor.
See Also