Class ProceduralFoliageSpawner
Procedural Foliage Spawner
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: UE4.Foliage
Assembly: UE4DotNet.dll
Syntax
public class ProceduralFoliageSpawner : UObject
Properties
| Improve this Doc View SourcebNeedsSimulation
Declaration
public bool bNeedsSimulation { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static ProceduralFoliageSpawner DefaultObject { get; }
Property Value
Type | Description |
---|---|
ProceduralFoliageSpawner |
MinimumQuadTreeSize
Minimum size of the quad tree used during the simulation. Reduce if too many instances are in splittable leaf quads (as warned in the log).
Declaration
public float MinimumQuadTreeSize { get; }
Property Value
Type | Description |
---|---|
System.Single |
NumUniqueTiles
The number of unique tiles to generate. The final simulation is a procedurally determined combination of the various unique tiles.
Declaration
public int NumUniqueTiles { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
RandomSeed
The seed used for generating the randomness of the simulation.
Declaration
public int RandomSeed { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
TileSize
Length of the tile (in cm) along one axis. The total area of the tile will be TileSize*TileSize.
Declaration
public float TileSize { get; }
Property Value
Type | Description |
---|---|
System.Single |
Methods
| Improve this Doc View SourceNew(UObject, Name)
Spawn an object of this class
Declaration
public static ProceduralFoliageSpawner New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
ProceduralFoliageSpawner |
Simulate(Int32)
Simulate
Declaration
public void Simulate(int NumSteps)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | NumSteps |
Operators
| Improve this Doc View SourceImplicit(IntPtr to ProceduralFoliageSpawner)
Convert from IntPtr to UObject
Declaration
public static implicit operator ProceduralFoliageSpawner(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
ProceduralFoliageSpawner |