Class SubLayerBehaviorModifiers
Inheritance
Inherited Members
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
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
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
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
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
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
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
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
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
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 |