Class PrefabItemOptions
Inheritance
System.Object
PrefabItemOptions
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 PrefabItemOptions : VectorSubLayerProperties, IVectorSubLayer
Fields
_combinerType
Declaration
public readonly LayerFilterCombinerOperationType _combinerType
Field Value
_movePrefabFeaturePositionTo
Declaration
public readonly PositionTargetType _movePrefabFeaturePositionTo
Field Value
categories
Spawn at any location in the categories selected
Declaration
public LocationPrefabCategories categories
Field Value
categoryPropertyFromFindByTypeDictionary
Declaration
public readonly Dictionary<LocationPrefabFindBy, string> categoryPropertyFromFindByTypeDictionary
Field Value
combineMeshes
Declaration
public readonly bool combineMeshes
Field Value
Type |
Description |
System.Boolean |
|
coordinates
Spawn at specific coordinates
Declaration
public string[] coordinates
Field Value
Type |
Description |
System.String[] |
|
density
Declaration
Field Value
Type |
Description |
System.Int32 |
|
densityPropertyFromFindByTypeDictionary
Declaration
public readonly Dictionary<LocationPrefabFindBy, string> densityPropertyFromFindByTypeDictionary
Field Value
extrusionType
Declaration
public readonly ExtrusionType extrusionType
Field Value
findByType
Find points-of-interest to spawn prefabs using this enum
Declaration
public LocationPrefabFindBy findByType
Field Value
layerNameFromFindByTypeDictionary
Declaration
public readonly Dictionary<LocationPrefabFindBy, string> layerNameFromFindByTypeDictionary
Field Value
namePropertyFromFindByTypeDictionary
Declaration
public readonly Dictionary<LocationPrefabFindBy, string> namePropertyFromFindByTypeDictionary
Field Value
nameString
Spawn at any location containing this name string
Declaration
Field Value
Type |
Description |
System.String |
|
primitiveType
Declaration
public readonly VectorPrimitiveType primitiveType
Field Value
spawnPrefabOptions
The prefab to be spawned on the map
Declaration
public SpawnPrefabOptions spawnPrefabOptions
Field Value
Properties
HasChanged
Declaration
public override bool HasChanged { set; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
isActive
Declaration
public bool isActive { get; set; }
Property Value
Type |
Description |
System.Boolean |
true if is active; otherwise, false .
|
OnAllPrefabsInstantiated
Declaration
public Action<List<GameObject>> OnAllPrefabsInstantiated { get; set; }
Property Value
Type |
Description |
System.Action<System.Collections.Generic.List<GameObject>> |
|
prefabItemName
Declaration
public string prefabItemName { get; set; }
Property Value
Type |
Description |
System.String |
|
snapToTerrain
Declaration
public bool snapToTerrain { get; set; }
Property Value
Type |
Description |
System.Boolean |
|