GeostoreCityJsonProtoAppearanceMaterial

GoogleApi.ContentWarehouse.V1.Model.GeostoreCityJsonProtoAppearanceMaterial


Table of Contents ▼

Jump to a specific part of the page:

Description

Representation of a single material that can describe a geometry surface. See technical definitions of these fields via the description and link at https://www.cityjson.org/specs/2.0.0/#material-object.

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. diffuseColor (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreCityJsonProtoAppearanceMaterialRgbColor, default: nil)
    - The color that this material shows under pure white light when incoming light is reflected in all directions equally.
  2. isNull (type: boolean(), default: nil)
    - is_null=true is used to represent 'null' material references. There may only be one is_null=true Material per CityJsonProto, and it must not have any other fields set.
  3. isSmooth (type: boolean(), default: nil)
    - Whether this material has an even, regular surface or consistency.
  4. name (type: String.t, default: nil)
    - The name of this material.
  5. shininess (type: number(), default: nil)
    - The degree to which this material reflects light; value is [0,1].
  6. transparency (type: number(), default: nil)
    - The degree to which this material allows light through; value is [0,1], with 1.0 being completely transparent.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GeostoreCityJsonProtoAppearanceMaterial{
diffuseColor: GoogleApi.ContentWarehouse.V1.Model.GeostoreCityJsonProtoAppearanceMaterialRgbColor.t() | nil,
isNull: boolean() | nil,
isSmooth: boolean() | nil,
name: String.t() | nil,
shininess: number() | nil,
transparency: number() | nil
}

Function

@spec decode(struct(), keyword()) :: struct()

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GeostoreCityJsonProtoAppearanceMaterial