기술 자료

Unity Engine

Unity Engine

TreePrototype

Simple class that contains a pointer to a tree prototype.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Class
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TerrainModule
public sealed class TreePrototype

Remarks

This class is used by the TerrainData gameObject.

Properties

Property

Description

bendFactorBend factor of the tree prototype.
navMeshLodThe LOD index of a Tree LODGroup that Unity uses to generate a NavMesh. It uses this value only for Trees with a LODGroup, and ignores this value for regular Trees.
prefabRetrieves the actual GameObject used by the tree.