TerrainObjectSetTexture Methode

Setzt die Textur des Objekts

Definition

Namensraum: KWEngine3.GameObjects
Assembly: KWEngine3 (in KWEngine3.dll) Version: 3.0.3.0+5a1a93710439697f5c5b3a2ecf0170e28863e0a1
C#
public void SetTexture(
	string filename,
	TextureType type = TextureType.Albedo,
	int meshId = 0
)

Parameter

filename  String
Dateiname (inkl. relativem Pfad)
type  TextureType  (Optional)
Texturtyp (Standard: Albedo)
meshId  Int32  (Optional)
interne Nummer des 3D-Modellteils (Standard: 0)

Siehe auch