GetQuaternion

GetQuaternion(string, Quaternion)

public Quaternion GetQuaternion(string name, Quaternion defaultValue) ;

Description

Get the value of the Quaternion type.

Parameters

Parameter Name Description
name Name.
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(string)

public Quaternion GetQuaternion(string name) ;

Description

Get the value of the Quaternion type.

Parameters

Parameter Name Description
name Name.

Returns

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

GetQuaternion(int, Quaternion)

public Quaternion GetQuaternion(int id, Quaternion defaultValue) ;

Description

Get the value of the Quaternion type.

Parameters

Parameter Name Description
id ID.
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(int)

public Quaternion GetQuaternion(int id) ;

Description

Get the value of the Quaternion type.

Parameters

Parameter Name Description
id ID.

Returns

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

GetQuaternion(string, out Quaternion)

Obsolete public bool GetQuaternion(string name, out Quaternion value) ;

Description

Get the value of the Quaternion type.

Parameters

Parameter Name Description
name Name.
value The value you get.

Returns

The true when there parameters of the specified name.

GetQuaternion(int, out Quaternion)

Obsolete public bool GetQuaternion(int id, out Quaternion value) ;

Description

Get the value of the Quaternion type.

Parameters

Parameter Name Description
id ID.
value The value you get.

Returns

The true when there parameters of the specified name.