👑
Impulse documentation
  • Getting started
  • Examples
    • Console
    • Window
  • enviornment
    • Globals
      • Lua globals
      • Impulse globals
    • Libraries
      • Win32
      • Direct X
      • Renderer
      • Input
      • Crypt
      • Memory
      • File system
      • Debug
  • Enumerations
    • Key codes
    • Cursor style
    • Primitive topology
  • Data types
    • Vector2
    • Vector3
    • Vertex
    • Color
    • Draw command
Powered by GitBook

Impulse links

  • GitHub
  • Project
  • Discord

© 2025 Impulse

On this page
  1. Data types

Vector3

Constructor

vector3.new(x: number, y: number, z: number) -> vector3
Properties
Description

x

Defines the horizontal position of a point in 3D space, determining left or right movement.

y

Defines the vertical position of a point in 3D space, determining up or down movement..

z

Defines depth in 3D space, determining forward or backward movement.

PreviousVector2NextVertex

Last updated 3 months ago