50 results for "2d" in function
Adds a scalar float to both components of a 2D vector, returning (A.
Returns the component-wise sum of two 2D vectors (A + B).
Decomposes an FVector2D into its individual X and Y double components via output parameters.
Returns a copy of the vector with both X and Y clamped to [MinAxisVal, MaxAxisVal].
Broadcasts a single double to both components of an FVector2D, producing (InDouble, InDouble).
Converts an FIntPoint to an FVector2D by casting its integer X and Y components to double.
Converts an FIntVector2 (two int32 components) to an FVector2D (two doubles) component-wise.
Converts a 2D float vector to an integer point by truncating each component.
Converts a 2D vector to a 3D vector by appending a Z component.
Extracts the X and Y components of a 3D vector into an FVector2D, discarding the Z component entirely.
Creates a non-spatialized, non-attenuated UAudioComponent without immediately starting playback, useful when you need to configure the component before playing.
Returns the 2D cross product (A.
Returns the Euclidean distance between two 2D points.
Returns the squared Euclidean distance between two 2D points without computing a square root.
Divides both components of a 2D vector by a scalar, returning (A.
Performs element-wise division of two 2D vectors, returning {A.
Returns the dot product of two 2D vectors.
Returns true if vector A is approximately equal to vector B within a per-component error tolerance.
Returns true only if A and B are bit-exactly equal with no tolerance.
Truncates each component of a 2D float vector toward zero, returning an integer 2D vector.
Returns a copy of the 2D vector with the absolute value applied to each component.
Returns the largest absolute value among the vector's X and Y components.
Returns the larger of the vector's X and Y components, preserving sign.
Returns the smaller of the vector's X and Y components, preserving sign.
Returns a copy of the 2D vector rotated by the given angle in degrees around the Z axis (0,0,1).
Returns true if both components of the vector are within the given tolerance of zero.
Returns true only if both X and Y are exactly 0.
Constructs a 2D axis-aligned bounding box from explicit Min and Max corners and sets IsValid to true.
Constructs an FVector2D from explicit X and Y double values.
Scales a 2D vector uniformly by a scalar, returning (A.
Performs element-wise multiplication of two 2D vectors, returning {A.
Returns a copy of the 2D vector with both components negated (-X, -Y).
Returns a unit-length copy of the 2D vector without any safety check.
Returns a unit-length copy of the 2D vector, or (0,0) if the vector is too small to normalize safely.
Normalizes a 2D vector in place.
Returns true if A and B are not bit-exactly equal.
Returns true if vector A is not approximately equal to vector B, within a per-component tolerance.
Plays a UDialogueWave at 2D (non-spatialized) volume, suitable for UI or cinematic dialogue where positional audio is not needed.
Plays a non-spatialized (2D) sound that is not affected by the listener's position or orientation.
Tests whether two 3D segments intersect when projected onto the XY plane and returns the intersection point.
Sets the X and Y components of an existing FVector2D variable in place.
Creates and plays a 2D (non-spatialized) UAudioComponent for a UDialogueWave, returning the component for runtime control such as stopping or fading.
Spawns an audio component that plays a non-spatialized (2D) sound with no attenuation.
Converts a 2D spherical coordinate (polar + azimuth in radians) to a unit-length 3D Cartesian direction vector on the unit sphere.
Subtracts a scalar float from both components of a 2D vector, returning (A.
Returns the component-wise difference of two 2D vectors (A - B).
Decomposes a 2D vector into its unit direction and scalar length in a single call.
Returns a copy of the 2D vector with each component rounded to the nearest integer.
Returns a copy of the vector where each component is replaced with its sign: +1 for positive or zero, -1 for negative.
Returns the Euclidean length (magnitude) of a 2D vector.