C# Class Graphics.Detail.ProceduralPlane

Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: juliancruz87/madbricks

Méthodes publiques

Свойство Type Description
Height float
SegmentsX int
SegmentsZ int
Width float
meshFilter UnityEngine.MeshFilter

Méthodes publiques

Méthode Description
GeneratePlane ( int segmentsX, int segmentsZ, float segmentSizeX, float segmentSizeZ, Vector3 translate = newVector3(), Quaternion rotation = newQuaternion() ) : Mesh
Start ( ) : void
Update ( ) : void

Private Methods

Méthode Description
RecalculateMesh ( ) : void

Method Details

GeneratePlane() public static méthode

public static GeneratePlane ( int segmentsX, int segmentsZ, float segmentSizeX, float segmentSizeZ, Vector3 translate = newVector3(), Quaternion rotation = newQuaternion() ) : Mesh
segmentsX int
segmentsZ int
segmentSizeX float
segmentSizeZ float
translate UnityEngine.Vector3
rotation UnityEngine.Quaternion
Résultat UnityEngine.Mesh

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

Height public_oe property

public float Height
Résultat float

SegmentsX public_oe property

public int SegmentsX
Résultat int

SegmentsZ public_oe property

public int SegmentsZ
Résultat int

Width public_oe property

public float Width
Résultat float

meshFilter public_oe property

public MeshFilter,UnityEngine meshFilter
Résultat UnityEngine.MeshFilter