Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ExtensionName defines the Unlit unique key.
ExtensionName = "KHR_materials_unlit"
)
Variables ¶
This section is empty.
Functions ¶
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 ¶
UnmarshalJSON unmarshal the pbr with the correct default values.
Click to show internal directories.
Click to hide internal directories.