gltf: github.com/qmuntal/gltf/unlit Index | Files

package unlit

import "github.com/qmuntal/gltf/unlit"

Index

Package Files

unlit.go

Constants

const (
    // ExtUnlit defines the Unlit unique key.
    ExtUnlit = "KHR_materials_unlit"
)

func New Uses

func New() json.Unmarshaler

New returns a new unlit.Unlit.

type Unlit Uses

type Unlit map[string]interface{}

Unlit defines an unlit shading model. When present, the extension indicates that a material should be unlit. Additional properties on the extension object are allowed, but may lead to undefined behaviour in conforming viewers.

func (*Unlit) UnmarshalJSON Uses

func (u *Unlit) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshal the pbr with the correct default values.

Package unlit imports 2 packages (graph). Updated 2019-07-30. Refresh now. Tools for package owners.