vec3.sphericalExtrapolate

From GTA Connected
Jump to navigation Jump to search

Method Server and Client All Games Online and Offline

Server 1.0.0, Client 1.0.0

Vec3 vec3.sphericalExtrapolate(Vec3 vector, float ratio)

Description

The vec3.sphericalExtrapolate method is used to fetch a new 3D vector of the vector spherically extrapolated with a second 3D vector.

Parameters

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

Returns

Success Returns

Type Description
Vec3
The new 3D vector.

Failure Returns

Type Value
Vec3
Vec3(0.0,0.0,0.0)

Types

This method can only be used on type:

Vec3

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.