RectTransform
More information can be found in the Unity API Reference
Constructors
Constructor |
Description |
---|---|
Members
Member |
Description |
---|---|
Returns this transform as a rect transform. If unavailable, returns nil. |
|
Returns this RectTransform as a transform |
|
Methods
Method |
Description |
---|---|
Details
-
class RectTransform
-
RectTransform RectTransform()
-
const RectTransform asRectTransform
Returns this transform as a rect transform. If unavailable, returns nil.
-
const int childCount
-
const GameObject gameObject
-
bool hasChanged
-
int hierarchyCapacity
-
const int hierarchyCount
-
Quaternion localRotation
-
string name
-
Quaternion rotation
-
string tag
-
bool CompareTag(string tag)
-
void DetachChildren()
-
void ForceUpdateRectTransforms()
-
int GetHashCode()
-
int GetSiblingIndex()
-
void Rotate(float xAngle, float yAngle, float zAngle)
-
void SetAsFirstSibling()
-
void SetAsLastSibling()
-
void SetPositionAndRotation(Vector3 position, Quaternion rotation)
-
void SetSiblingIndex(int index)
-
string ToString()
-
void Translate(float x, float y, float z)
-
RectTransform RectTransform()