Version: 2022.1
언어: 한국어

DetailInstanceTransform

struct in UnityEngine

매뉴얼로 전환

설명

Describes the transform of a Terrain detail object.

변수

posXThe X coordinate of the detail object in the Terrain's local space. To get the X in world space, add this value to position X of the Terrain.
posYThe Y coordinate of the detail object in the Terrain's local space. To get the Y in world space, add this value to position Y of the Terrain.
posZThe Z coordinate of the detail object in the Terrain's local space. To get the Z in world space, add this value to position Z of the Terrain.
rotationYThe angle, in radians, at which the detail object rotates around the Y-axis.
scaleXZThe X and Z scale values of the detail object. These two values are always the same.
scaleYThe Y scale value of the detail object.