C# Class UnityEditor.TerrainInspectorUtil

Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Méthodes publiques

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

Private Methods

Méthode 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 méthode

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

GetPrototypeExtent() public static méthode

public static GetPrototypeExtent ( TerrainData terrainData, int prototypeIndex ) : Vector3
terrainData UnityEngine.TerrainData
prototypeIndex int
Résultat Vector3