🇭🇰
Sleeping Dogs: DE (Script API)
  • Overview
  • ⛔Const
  • đŸ”ĸEnums
  • đŸ“ĻClasses
    • 🌈Color
    • 💾Config
    • 🚀Console
    • â˜¯ī¸Font
    • đŸ‘ŊHash
    • đŸ–ŧī¸Image
    • âŒ¨ī¸Input
    • đŸ‘ī¸Renderer
    • âŗTimer
    • 2ī¸âƒŖVector2
    • 3ī¸âƒŖVector3
  • đŸ—ƒī¸Game Classes
    • â„šī¸Overview
    • 🔊Audio
    • 📹Camera
    • đŸĢ‚CollisionData
    • 🎮GameInput
    • 🧩GameSlice
    • đŸ“ēHud
    • 📊Metrics
    • 📱PDA
    • 📈ProgressionTracker
    • 💡SimObject
    • 📮SimObjectProp
    • 🧍SimCharacter
    • 🚘SimVehicle
    • đŸ”ĢSimWeapon
    • â˜€ī¸TimeOfDayManager
  • 📩Callbacks
    • OnCollision
    • OnCharacterDeath
    • OnCharacterSpawn
    • OnGameUpdate
    • OnRender
    • OnUnload
    • OnVehicleDeath
Powered by GitBook
On this page
  • Properties:
  • Static Functions:
  • Functions:

Was this helpful?

  1. Classes

Vector3

Built-in Vector3 library.

Properties:

Name
Type
Description

x

float

X member of the Vector

y

float

Y member of the Vector

z

float

Z member of the Vector

Static Functions:

Vector3

Vector3(x: float, y: float, z: float): Vector3

Argument
Type
Description

x

float

X member of the Vector

y

float

Y member of the Vector

z

float

Z member of the Vector

Creates a new Vector3 object.

Functions:

.Add

Vector3_Object.Add(other: Vector3)

Argument
Type
Description

other

Vector3

Other Vector

Adds a Vector3 to this Vector3 object.

.Subtract

Vector3_Object.Subtract(other: Vector3)

Argument
Type
Description

other

Vector3

Other Vector

Subtracts this Vector3 object with the specified Vector3.

.Multiply

Vector3_Object.Multiply(value: float)

Argument
Type
Description

value

float

Multiply value

Multiplies this Vector3 object by the specified value.

.Divide

Vector3_Object.Divide(value: float)

Argument
Type
Description

value

float

Divide value

Divides this Vector3 object by the specified value.

.Equals

Vector3_Object.Equals(other: Vector3)

Argument
Type
Description

other

Vector3

Other Vector

Compares two Vector3 objects for equality.

.Length

Vector3_Object.Length(): float

Gets the length of this Vector3 object.

.Normalize

Vector3_Object.Normalize()

Normalizes this Vector3 object.

.DistTo

Vector3_Object.DistTo(other: Vector3): float

Argument
Type
Description

other

Vector3

Other Vector

Gets the length between the two Vector3 objects.

PreviousVector2NextOverview

Last updated 2 years ago

Was this helpful?

đŸ“Ļ
3ī¸âƒŖ