TransformExtensions.SetLocalEulerAnglesX

Extension Method in TransformExtensions

Declaration

public static void SetLocalEulerAnglesX(this Transform transform, float x)

Description

Sets the local euler angles of the transform in the x-axis.

Parameters

transformThe transform to set the local euler angles of.
xThe x-axis euler angle to set.