ViewSpaceGameObjectSetTextureForPrimitiveModel Methode

Setzt die Textur, falls das Modell des Objekts KWCube, KWSphere oder KWQuad(2D) ist

Definition

Namensraum: KWEngine3.GameObjects
Assembly: KWEngine3 (in KWEngine3.dll) Version: 3.0.3.0+5a1a93710439697f5c5b3a2ecf0170e28863e0a1
C#
public void SetTextureForPrimitiveModel(
	string file,
	TextureType type = TextureType.Albedo
)

Parameter

file  String
Texturdatei (inkl. relativem Pfad)
type  TextureType  (Optional)
Texturtyp

Siehe auch