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.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961