Class CoreVectorLayerProperties
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 CoreVectorLayerProperties : MapboxDataProperty, ISubLayerCoreOptions
Fields
combineMeshes
Declaration
public bool combineMeshes
Field Value
| Type | Description |
|---|---|
| System.Boolean |
geometryType
Declaration
public VectorPrimitiveType geometryType
Field Value
| Type | Description |
|---|---|
| VectorPrimitiveType |
isActive
Declaration
public bool isActive
Field Value
| Type | Description |
|---|---|
| System.Boolean |
layerName
Declaration
public string layerName
Field Value
| Type | Description |
|---|---|
| System.String |
snapToTerrain
Declaration
public bool snapToTerrain
Field Value
| Type | Description |
|---|---|
| System.Boolean |
sublayerName
Declaration
public string sublayerName
Field Value
| Type | Description |
|---|---|
| System.String |
Properties
HasChanged
Declaration
public override bool HasChanged { set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Overrides
Methods
SetPrimitiveType(VectorPrimitiveType)
Change the primtive type of the feature which will be used to decide what type of mesh operations features will require. In example, roads are generally visualized as lines and buildings are generally visualized as polygons.
Declaration
public virtual void SetPrimitiveType(VectorPrimitiveType type)
Parameters
| Type | Name | Description |
|---|---|---|
| VectorPrimitiveType | type | Primitive type of the featues in the layer. |