A temporary implementation of the deprecated FlxMaterial class in the new material system. This will be removed in the future.

Constructor

new()

Variables

@:value(FlxColor.WHITE)color:FlxColor = FlxColor.WHITE

Methods

insertTexture(index:UInt, texture:Flx3DTextureAsset, ?key:String):Flx3DLegacyMaterial

setTexture(texture:Flx3DTextureAsset, ?key:String):Flx3DLegacyMaterial

A helper for setting the main texture.

Inherited Variables

Inherited Methods