Class VectorSubLayerProperties
Inheritance
System.Object
VectorSubLayerProperties
Inherited Members
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 VectorSubLayerProperties : LayerProperties, IVectorSubLayer
Fields
behaviorModifiers
Declaration
protected SubLayerBehaviorModifiers behaviorModifiers
Field Value
buildingsWithUniqueIds
Declaration
public bool buildingsWithUniqueIds
Field Value
Type |
Description |
System.Boolean |
|
colliderOptions
Declaration
public ColliderOptions colliderOptions
Field Value
coreOptions
Declaration
public CoreVectorLayerProperties coreOptions
Field Value
extrusionOptions
Declaration
public GeometryExtrusionOptions extrusionOptions
Field Value
filterOptions
Declaration
public VectorFilterOptions filterOptions
Field Value
GoModifiers
Declaration
[NodeEditorElement("Game Object Modifiers")]
public List<GameObjectModifier> GoModifiers
Field Value
honorBuildingIdSetting
Declaration
public bool honorBuildingIdSetting
Field Value
Type |
Description |
System.Boolean |
|
lineGeometryOptions
Declaration
public LineGeometryOptions lineGeometryOptions
Field Value
materialOptions
Declaration
public GeometryMaterialOptions materialOptions
Field Value
MeshModifiers
Declaration
[NodeEditorElement("Mesh Modifiers")]
public List<MeshModifier> MeshModifiers
Field Value
Type |
Description |
System.Collections.Generic.List<MeshModifier> |
|
modeling
Declaration
protected SubLayerModeling modeling
Field Value
Type |
Description |
SubLayerModeling |
|
moveFeaturePositionTo
Declaration
public PositionTargetType moveFeaturePositionTo
Field Value
Declaration
public LayerPerformanceOptions performanceOptions
Field Value
presetFeatureType
Declaration
public PresetFeatureType presetFeatureType
Field Value
selectedTypes
Declaration
public string selectedTypes
Field Value
Type |
Description |
System.String |
|
Properties
BehaviorModifiers
Declaration
public ISubLayerBehaviorModifiers BehaviorModifiers { get; }
Property Value
Implements
Filtering
Declaration
public ISubLayerFiltering Filtering { get; }
Property Value
Implements
HasChanged
Declaration
public override bool HasChanged { set; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Key
Declaration
public virtual string Key { get; }
Property Value
Type |
Description |
System.String |
|
Modeling
Declaration
public ISubLayerModeling Modeling { get; }
Property Value
Type |
Description |
ISubLayerModeling |
|
Implements
Texturing
Declaration
public ISubLayerTexturing Texturing { get; }
Property Value
Implements
Methods
CreateCustomStyle(List<MeshModifier>, List<GameObjectModifier>)
Switch layer to custom style using provided mesh and game object modifier
Declaration
public virtual void CreateCustomStyle(List<MeshModifier> meshModifiers, List<GameObjectModifier> gameObjectModifiers)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<MeshModifier> |
meshModifiers |
Mesh modifiers to be used in layer
|
System.Collections.Generic.List<GameObjectModifier> |
gameObjectModifiers |
Game object modifiers to be used in layer
|
SetActive(Boolean)
Declaration
public virtual void SetActive(bool active)
Parameters
Type |
Name |
Description |
System.Boolean |
active |
If set to true active.
|
SubLayerNameContains(String)
Returns true if the layer name contains a given string.
Declaration
public virtual bool SubLayerNameContains(string layerName)
Parameters
Type |
Name |
Description |
System.String |
layerName |
Layer name.
|
Returns
Type |
Description |
System.Boolean |
true , if layer name contains was subed, false otherwise.
|
SubLayerNameMatchesExact(String)
Returns true if the layer name matches a given string.
Declaration
public virtual bool SubLayerNameMatchesExact(string layerName)
Parameters
Type |
Name |
Description |
System.String |
layerName |
Layer name.
|
Returns
Type |
Description |
System.Boolean |
true , if layer name matches exact was subed, false otherwise.
|
SubLayerUsesStyleType(StyleTypes)
Returns true if the layer uses a given style.
Declaration
public virtual bool SubLayerUsesStyleType(StyleTypes style)
Parameters
Returns
Type |
Description |
System.Boolean |
true , if layer uses style type was subed, false otherwise.
|