Version: 2022.2
言語: 日本語

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.