Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

unity quaternion

/* Quaternion is a combination of a vector3 and a scalar used to represent the rotation or orientation of an object.

The structure of quaternion looks like this (xi, yj,zk,w) where (xi,yj,zk) is a unit vector that represents the angle between the orientation and each individual axis. “w” represents the degree of rotation along the unit vector (xi,yj,zk).

In Unity, Quaternion can also be represented using a vector 4. */

Quaternion rot=new Quaternion(0.4f,0.5f,0.9f,1);
Comment

PREVIOUS NEXT
Code Example
Csharp :: capitalize c# 
Csharp :: system.io.directorynotfoundexception c# 
Csharp :: get last element in a list vb.net 
Csharp :: c# array to string 
Csharp :: WPF Confirmation MessageBox 
Csharp :: What is the difference between String and string in C#? 
Csharp :: c# cast to int 
Csharp :: move files from one folder to another using c# 
Csharp :: change name of gameobject 
Csharp :: Install Mono project on Ubuntu 20.04 
Csharp :: arrays in c# 
Csharp :: c# consuming post rest service 
Csharp :: c# loop through list of objects 
Csharp :: 2 rotation unity 
Csharp :: add row count devepxress report 
Csharp :: linear search c# 
Csharp :: remove adjacent duplicate characters 
Csharp :: c# regex match 
Csharp :: database update dotnet 
Csharp :: c# razor add disabled to button if 
Csharp :: count number of properties on an object C# 
Csharp :: unit test c# exception thrown 
Csharp :: Unity Interstitial ad C# 
Csharp :: c# empty list 
Csharp :: c# create tasks and wait all 
Csharp :: google script get time 
Csharp :: unity switch 
Csharp :: c# file read 
Csharp :: xamarin picker 
Csharp :: datetime month name 
ADD CONTENT
Topic
Content
Source link
Name
8+9 =