Class GameObjectsFromTextureFactory
Inheritance
object
GameObjectsFromTextureFactory
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: InsaneScatterbrain.MapGraph
Syntax
public class GameObjectsFromTextureFactory
Constructors
GameObjectsFromTextureFactory(Rng)
Declaration
public GameObjectsFromTextureFactory(Rng rng)
Parameters
Type | Name | Description |
---|---|---|
Rng | rng |
Methods
CreateObjects(TextureData, PrefabSet, NamedColorSet, int, float, float, float, float[], float, float, bool, bool)
Declaration
public IEnumerator<GameObject> CreateObjects(TextureData textureData, PrefabSet prefabSet, NamedColorSet namedColorSet, int width, float prefabWidth, float prefabHeight, float prefabDepth, float[] depthData, float depthLayerSize, float depthLayers, bool depthSnapToLayers, bool useXzPlane)
Parameters
Type | Name | Description |
---|---|---|
TextureData | textureData | |
PrefabSet | prefabSet | |
NamedColorSet | namedColorSet | |
int | width | |
float | prefabWidth | |
float | prefabHeight | |
float | prefabDepth | |
float[] | depthData | |
float | depthLayerSize | |
float | depthLayers | |
bool | depthSnapToLayers | |
bool | useXzPlane |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<T><UnityEngine.GameObject> |