Squirrel/Script Types/Vector2D

From Liberty Unleashed Wiki
Jump to: navigation, search

The Vector2D type is a 2-dimensional vector used to set/return positions and rotations for elements that only require an X and Y value.

Constructor

  1. Vector2D( float x, float y )

Values

  • x - The X coordinate of the vector
  • y - The Y coordinate of the vector

Example

This function needs an example. You can help us complete the wiki by writing one, or maybe even more :o

Explanation for the example

  1.  
  2. -- Todo
  3.  

Types

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox