Show / Hide Table of Contents

Class SubLayerBehaviorModifiers

Inheritance
System.Object
SubLayerBehaviorModifiers
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
public class SubLayerBehaviorModifiers : ISubLayerBehaviorModifiers

Constructors

SubLayerBehaviorModifiers(VectorSubLayerProperties)

Declaration
public SubLayerBehaviorModifiers(VectorSubLayerProperties subLayerProperties)
Parameters
Type Name Description
VectorSubLayerProperties subLayerProperties

Methods

AddGameObjectModifier(GameObjectModifier)

Add game object modifier to the modifiers list.

Declaration
public virtual void AddGameObjectModifier(GameObjectModifier modifier)
Parameters
Type Name Description
GameObjectModifier modifier

Game object modifier to add to style

Implements
ISubLayerBehaviorModifiers.AddGameObjectModifier(GameObjectModifier)

AddGameObjectModifier(List<GameObjectModifier>)

List of game object modifiers to the modifiers list.

Declaration
public virtual void AddGameObjectModifier(List<GameObjectModifier> modifiers)
Parameters
Type Name Description
List<GameObjectModifier> modifiers

List of game object modifiers to add to style

Implements
ISubLayerBehaviorModifiers.AddGameObjectModifier(List<GameObjectModifier>)

AddMeshModifier(List<MeshModifier>)

List of mesh modifiers to the modifiers list.

Declaration
public virtual void AddMeshModifier(List<MeshModifier> modifiers)
Parameters
Type Name Description
List<MeshModifier> modifiers

List of mesh modifiers to add to style

Implements
ISubLayerBehaviorModifiers.AddMeshModifier(List<MeshModifier>)

AddMeshModifier(MeshModifier)

Add mesh modifier to the modifiers list.

Declaration
public virtual void AddMeshModifier(MeshModifier modifier)
Parameters
Type Name Description
MeshModifier modifier

Mesh modifier to add to style

Implements
ISubLayerBehaviorModifiers.AddMeshModifier(MeshModifier)

GetGameObjectModifier(Func<GameObjectModifier, Boolean>)

Return game object modifiers from the modifiers list by query

Declaration
public virtual List<GameObjectModifier> GetGameObjectModifier(Func<GameObjectModifier, bool> function)
Parameters
Type Name Description
Func<GameObjectModifier, System.Boolean> function

Query function to test mesh modifiers

Returns
Type Description
List<GameObjectModifier>
Implements
ISubLayerBehaviorModifiers.GetGameObjectModifier(Func<GameObjectModifier, Boolean>)

GetMeshModifier(Func<MeshModifier, Boolean>)

Return mesh modifiers from the modifiers list by query

Declaration
public virtual List<MeshModifier> GetMeshModifier(Func<MeshModifier, bool> function)
Parameters
Type Name Description
Func<MeshModifier, System.Boolean> function

Query function to test mesh modifiers

Returns
Type Description
List<MeshModifier>
Implements
ISubLayerBehaviorModifiers.GetMeshModifier(Func<MeshModifier, Boolean>)

IsBuildingIdsUnique(Boolean)

Certain layers ("Mapbox Streets with Building Ids") contains unique identifiers to help mesh generation and feature management. This settings should be set to "true" while using these tilesets.

Declaration
public virtual void IsBuildingIdsUnique(bool isUniqueIds)
Parameters
Type Name Description
System.Boolean isUniqueIds

Is layer using unique building ids

Implements
ISubLayerBehaviorModifiers.IsBuildingIdsUnique(Boolean)

RemoveGameObjectModifier(GameObjectModifier)

Remove game object modifier from the modifiers list

Declaration
public virtual void RemoveGameObjectModifier(GameObjectModifier modifier)
Parameters
Type Name Description
GameObjectModifier modifier

Game object modifier to be removed from style

Implements
ISubLayerBehaviorModifiers.RemoveGameObjectModifier(GameObjectModifier)

RemoveMeshModifier(MeshModifier)

Remove mesh modifier from the modifiers list

Declaration
public virtual void RemoveMeshModifier(MeshModifier modifier)
Parameters
Type Name Description
MeshModifier modifier

Mesh modifier to be removed from style

Implements
ISubLayerBehaviorModifiers.RemoveMeshModifier(MeshModifier)

SetFeaturePivotStrategy(PositionTargetType)

Set the strategy for pivot placement for features.

Declaration
public virtual void SetFeaturePivotStrategy(PositionTargetType positionTargetType)
Parameters
Type Name Description
PositionTargetType positionTargetType

Strategy for feature pivot point

Back to top © 2017 Mapbox