shamansir / elm-aframe / AFrame.Components.Material.Flat

Flat Material

Source

src : String -> AFrame.Properties.Property

Image or video texture map. Can either be a selector to an <img> or <video>, or an inline URL.

Default : None

Dimensions

width : Basics.Int -> AFrame.Properties.Property

Width of video (in pixels), if defining a video texture.

Default : 640

height : Basics.Int -> AFrame.Properties.Property

Height of video (in pixels), if defining a video texture.

Default : 360

Look

color : Color -> AFrame.Properties.Property

Base diffuse color.

Default : #fff

fog : Basics.Bool -> AFrame.Properties.Property

Whether or not material is affected by fog.

Default : true

wireframe : Basics.Bool -> AFrame.Properties.Property

Whether to render just the geometry edges.

Default : false

wireframeLinewidth : Basics.Int -> AFrame.Properties.Property

Width in px of the rendered line.

Default : 2

NB: It is width all-lowercase in docs and sources so it is intentionally left the same way