vec3.dotProduct

From GTA Connected
(Redirected from Vec3.dotProduct)
Jump to navigation Jump to search

Method Server and Client All Games Online and Offline

Server 1.0.0, Client 1.0.0

float vec3.dotProduct(Vec3 vector2)

Description

The vec3.dotProduct method is used to fetch the dot product of the two 3D vectors.

Parameters

Type Name Presence Default Value Description
Vec2 vector required n/a The second 2D vector.

Returns

Success Returns

Type Description
float A floating-point number representing the dot product of the two 3D vectors.

Failure Returns

Type Value
Vec3 Vec3(0.0,0.0,0.0)

Types

This method can only be used on the Vec3 type.

Notes

There aren't any notes for this method.

Examples

There aren't any examples for this method.

Compatibility

There isn't any compatibility information for this method.

Related