TSHVector::operator*=

In-place scalar multiplication operator.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/SHMath.h

Include

#include "Math/SHMath.h"

Syntax

TSHVector & operator*=
(
    const float & B
)

Remarks

In-place scalar multiplication operator. Changed to float& from float to avoid LHS Changed from (*this = *this * B;) to calculate here to avoid LHS Now this avoids TSHVector * operator thus LHS on *this as well as Result and LHS

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss