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.