unlit

package
v0.11.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2019 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ExtensionName defines the Unlit unique key.
	ExtensionName = "KHR_materials_unlit"
)

Variables

This section is empty.

Functions

func Unmarshal added in v0.10.0

func Unmarshal(data []byte) (interface{}, error)

Unmarshal decodes the json data into the correct type.

Types

type Unlit

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

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

UnmarshalJSON unmarshal the pbr with the correct default values.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL