Sample Sidebar Module

This is a sample module published to the sidebar_top position, using the -sidebar module class suffix. There is also a sidebar_bottom position below the menu.
Register

Sample Sidebar Module

This is a sample module published to the sidebar_bottom position, using the -sidebar module class suffix. There is also a sidebar_top position below the search.
Vector2D Class

Search our Site


The Vector2D class allows you to create a two dimensional vector within your scripts. All settings can be manipulated through script.

Constructors
new(float x, float y) Description
Creates a new vector with 2 dimensions.

Parameters
float x
  • Value to be stored in the x dimension.
float y
  • Value to be stored in the y dimension.

Returns
Vector2D


Functions
Length() Description
Returns the length of the vector.

Parameters
None

Returns
float


Properties
float x Gets or sets the x value of the vector.
float y Gets or sets the y value of the vector.