Show / Hide Table of Contents

Class GeometryMaterialOptions

Inheritance
System.Object
MapboxDataProperty
ModifierProperties
GeometryMaterialOptions
Inherited Members
ModifierProperties.UpdateProperty(LayerVisualizerBase)
ModifierProperties.HasChanged
MapboxDataProperty.PropertyHasChanged
MapboxDataProperty.OnPropertyHasChanged(EventArgs)
MapboxDataProperty.NeedsForceUpdate()
MapboxDataProperty.UpdateProperty(UnityTile)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace:Mapbox.Unity.Map
Assembly:cs.temp.dll.dll
Syntax
[Serializable]
public class GeometryMaterialOptions : ModifierProperties, ISubLayerTexturing

Constructors

GeometryMaterialOptions()

Declaration
public GeometryMaterialOptions()

Fields

atlasInfo

Declaration
public AtlasInfo atlasInfo
Field Value
Type Description
AtlasInfo

colorPalette

Declaration
public ScriptablePalette colorPalette
Field Value
Type Description
ScriptablePalette

colorStyleColor

Declaration
public Color colorStyleColor
Field Value
Type Description
Color

customStyleOptions

Declaration
public CustomStyleBundle customStyleOptions
Field Value
Type Description
CustomStyleBundle

darkStyleOpacity

Declaration
public float darkStyleOpacity
Field Value
Type Description
System.Single

lightStyleOpacity

Declaration
public float lightStyleOpacity
Field Value
Type Description
System.Single

materials

Declaration
public MaterialList[] materials
Field Value
Type Description
MaterialList[]

samplePalettes

Declaration
public SamplePalettes samplePalettes
Field Value
Type Description
SamplePalettes

style

Declaration
public StyleTypes style
Field Value
Type Description
StyleTypes

texturingType

Declaration
public UvMapType texturingType
Field Value
Type Description
UvMapType

Properties

ColorStyle

Declaration
public ISubLayerColorStyle ColorStyle { get; }
Property Value
Type Description
ISubLayerColorStyle
Implements
ISubLayerTexturing.ColorStyle

CustomStyle

Declaration
public ISubLayerCustomStyle CustomStyle { get; }
Property Value
Type Description
ISubLayerCustomStyle
Implements
ISubLayerTexturing.CustomStyle

DarkStyle

Declaration
public ISubLayerDarkStyle DarkStyle { get; }
Property Value
Type Description
ISubLayerDarkStyle
Implements
ISubLayerTexturing.DarkStyle

FantasyStyle

Declaration
public ISubLayerFantasyStyle FantasyStyle { get; }
Property Value
Type Description
ISubLayerFantasyStyle
Implements
ISubLayerTexturing.FantasyStyle

LightStyle

Declaration
public ISubLayerLightStyle LightStyle { get; }
Property Value
Type Description
ISubLayerLightStyle
Implements
ISubLayerTexturing.LightStyle

ModifierType

Declaration
public override Type ModifierType { get; }
Property Value
Type Description
System.Type
Overrides
ModifierProperties.ModifierType

RealisticStyle

Declaration
public ISubLayerRealisticStyle RealisticStyle { get; }
Property Value
Type Description
ISubLayerRealisticStyle
Implements
ISubLayerTexturing.RealisticStyle

SimpleStyle

Declaration
public ISubLayerSimpleStyle SimpleStyle { get; }
Property Value
Type Description
ISubLayerSimpleStyle
Implements
ISubLayerTexturing.SimpleStyle

Methods

GetStyleType()

Gets the type of style used in the layer.

Declaration
public virtual StyleTypes GetStyleType()
Returns
Type Description
StyleTypes

The style type.

Implements
ISubLayerTexturing.GetStyleType()

SetDefaultAssets(UvMapType)

Declaration
public void SetDefaultAssets(UvMapType mapType = UvMapType.Atlas)
Parameters
Type Name Description
UvMapType mapType

SetDefaultMaterialOptions()

Sets up default values for GeometryMaterial Options. If style is set to Custom, user defined values will be used.

Declaration
public void SetDefaultMaterialOptions()

SetStyleType(StyleTypes)

Sets the type of the style.

Declaration
public void SetStyleType(StyleTypes styleType)
Parameters
Type Name Description
StyleTypes styleType

Style type.

Implements
ISubLayerTexturing.SetStyleType(StyleTypes)
Back to top © 2017 Mapbox