Declaration
func DirectionToEulerAngle(direction Vector3) Vector3
go
Parameters
Input
| Name | Type | Description |
|---|---|---|
| Direction | Vector3 | Direction Vector |
Return
| Type | Description |
|---|---|
| Vector3 | Euler Angle |
Direction vector to Euler angle
func DirectionToEulerAngle(direction Vector3) Vector3
go
| Name | Type | Description |
|---|---|---|
| Direction | Vector3 | Direction Vector |
| Type | Description |
|---|---|
| Vector3 | Euler Angle |