Version: 2023.1
언어: 한국어

TransformAccess

struct in UnityEngine.Jobs

매뉴얼로 전환

설명

Position, rotation and scale of an object.

변수

isValidUse this to determine whether this instance refers to a valid Transform.
localPositionThe position of the transform relative to the parent.
localRotationThe rotation of the transform relative to the parent transform's rotation.
localScaleThe scale of the transform relative to the parent.
localToWorldMatrixMatrix that transforms a point from local space into world space (Read Only).
positionThe position of the transform in world space.
rotationThe rotation of the transform in world space stored as a Quaternion.
worldToLocalMatrixMatrix that transforms a point from world space into local space (Read Only).

Public 함수

GetLocalPositionAndRotationGets the position and rotation of the transform in local space (that is, relative to its parent transform).
GetPositionAndRotationGets the position and rotation of the transform in world space.
SetLocalPositionAndRotationSets the position and rotation of the transform in local space (that is, relative to its parent transform).
SetPositionAndRotationSets the world space position and rotation of the transform.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961