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.7.3+f07b5927a6865945f32f848bdf50a2c2724c3fb9
C#
public void SetTextureForPrimitiveModel(
	string file,
	TextureType type = TextureType.Albedo
)

Parameter

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

Siehe auch