Diagonals Class

Summary

Constants for each of the diagonal directions.
Assembly
Animancer.dll
Namespace
Animancer
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["Diagonals"] class Type type-node

Syntax

public static class Diagonals

Remarks

Documentation: Directional Animation Sets

Fields

Name Constant Value Summary
OneOverSqrt2 0.7071068
1 / (Square Root of 2).
static

Properties

Name Value Summary
DownLeft Vector2
A vector with a magnitude of 1 pointing down to the left.
static
DownRight Vector2
A vector with a magnitude of 1 pointing down to the right.
static
UpLeft Vector2
A vector with a magnitude of 1 pointing up to the left.
static
UpRight Vector2
A vector with a magnitude of 1 pointing up to the right.
static