API Documentation

class Material

package h3d.mat

extends BaseMaterial › AnyProps

@:directlyUsed

Static methods

staticcreate(?tex:Texture):Material

Variables

blendMode:BlendMode

castShadows:Bool

color:Vector

model:Resource

normalMap:Texture

receiveShadows:Bool

shadows:Bool

specularAmount:Float

specularPower:Float

read onlyspecularShader:SpecularTexture

specularTexture:Texture

staticShadows:Bool

texture:Texture

read onlytextureShader:Texture

Methods

getDefaultModelProps():Any

Inherited Variables

Defined by BaseMaterial

read onlymainPass:Pass

name:String

Defined by AnyProps

props:Any

Inherited Methods

Defined by BaseMaterial

addPass<T>(p:T):T

@:value({ inheritMain : true })allocPass(name:String, inheritMain:Bool = true):Pass

getPass(name:String):Pass

getPasses():Array<Pass>

removePass(p:Pass):Bool

Defined by AnyProps

setDefaultProps(kind:String):Void

This documentation is generated for version 0.2.0

© 2022