GetQuaternion

GetQuaternion(Quaternion)

public Quaternion GetQuaternion(Quaternion defaultValue) ;

Description

Get the value of the Quaternion type.

Parameters

Parameter Name Description
defaultValue Default value. It is returned when there is no parameter.

Returns

The value of the parameter. If there is no parameter, it returns defaultValue.

GetQuaternion()

public Quaternion GetQuaternion() ;

Description

Get the value of the Quaternion type.

Returns

The value of the parameter. If there is no parameter, it returns Quaternion.identity.