AthenaShared.utility.directionVector.DirectionVector ​
shared/utility/directionVector.DirectionVector
Constructors ​
constructor ​
• new DirectionVector(position
, rotation
)
Parameters ​
Name | Type |
---|---|
position | IVector3 |
rotation | IVector3 |
Defined in ​
shared/utility/directionVector.ts:7
Properties ​
position ​
• Private
position: IVector3
Defined in ​
shared/utility/directionVector.ts:4
rotation ​
• Private
rotation: IVector3
Defined in ​
shared/utility/directionVector.ts:5
Methods ​
eulerToQuaternion ​
Usage
AthenaShared.utility.directionVector.DirectionVector.eulerToQuaternion(rotation
): Object
Parameters ​
Name | Type |
---|---|
rotation | IVector3 |
Returns ​
Object
Name | Type |
---|---|
w | number |
x | number |
y | number |
z | number |
Defined in ​
shared/utility/directionVector.ts:12
forward ​
Usage
AthenaShared.utility.directionVector.DirectionVector.forward(distance
): IVector3
Parameters ​
Name | Type |
---|---|
distance | number |
Returns ​
IVector3
Defined in ​
shared/utility/directionVector.ts:42
forwardVector ​
Usage
AthenaShared.utility.directionVector.DirectionVector.forwardVector(): IVector3
Returns ​
IVector3
Defined in ​
shared/utility/directionVector.ts:33
right ​
Usage
AthenaShared.utility.directionVector.DirectionVector.right(distance
): any
Parameters ​
Name | Type |
---|---|
distance | number |
Returns ​
any
Defined in ​
shared/utility/directionVector.ts:62
rightVector ​
Usage
AthenaShared.utility.directionVector.DirectionVector.rightVector(): any
Returns ​
any
Defined in ​
shared/utility/directionVector.ts:52
up ​
Usage
AthenaShared.utility.directionVector.DirectionVector.up(distance
): any
Parameters ​
Name | Type |
---|---|
distance | number |
Returns ​
any
Defined in ​
shared/utility/directionVector.ts:81
upVector ​
Usage
AthenaShared.utility.directionVector.DirectionVector.upVector(): any
Returns ​
any