C# Class UnityEditor.TerrainInspectorUtil

ファイルを表示 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
CheckTreeDistance ( TerrainData terrainData, Vector3 position, int prototypeIndex, float distanceBias ) : bool
GetPrototypeExtent ( TerrainData terrainData, int prototypeIndex ) : Vector3

Private Methods

Method Description
GetPrototypeCount ( TerrainData terrainData ) : int
GetTreePlacementSize ( TerrainData terrainData, int prototypeIndex, float spacing, float treeCount ) : float
INTERNAL_CALL_CheckTreeDistance ( TerrainData terrainData, Vector3 &position, int prototypeIndex, float distanceBias ) : bool
INTERNAL_CALL_GetPrototypeExtent ( TerrainData terrainData, int prototypeIndex, Vector3 &value ) : void
PrototypeIsRenderable ( TerrainData terrainData, int prototypeIndex ) : bool
RefreshPhysicsInEditMode ( ) : void

Method Details

CheckTreeDistance() public static method

public static CheckTreeDistance ( TerrainData terrainData, Vector3 position, int prototypeIndex, float distanceBias ) : bool
terrainData UnityEngine.TerrainData
position Vector3
prototypeIndex int
distanceBias float
return bool

GetPrototypeExtent() public static method

public static GetPrototypeExtent ( TerrainData terrainData, int prototypeIndex ) : Vector3
terrainData UnityEngine.TerrainData
prototypeIndex int
return Vector3