Class FoliageStatistics
Foliage Statistics
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 FoliageStatistics : BlueprintFunctionLibrary
Properties
| Improve this Doc View SourceDefaultObject
Get UE4 Default Object for this Class
Declaration
public static FoliageStatistics DefaultObject { get; }
Property Value
Type | Description |
---|---|
FoliageStatistics |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
Methods
| Improve this Doc View SourceFoliageOverlappingBoxCount(UObject, StaticMesh, Box)
Gets the number of instances overlapping a provided box @
Declaration
public static int FoliageOverlappingBoxCount(UObject WorldContextObject, StaticMesh StaticMesh, Box Box)
Parameters
Type | Name | Description |
---|---|---|
UObject | WorldContextObject | |
StaticMesh | StaticMesh | |
Box | Box |
Returns
Type | Description |
---|---|
System.Int32 |
Remarks
param StaticMesh Mesh to count @param Box Box to overlap
FoliageOverlappingSphereCount(UObject, StaticMesh, Vector, Single)
Counts how many foliage instances overlap a given sphere @
Declaration
public static int FoliageOverlappingSphereCount(UObject WorldContextObject, StaticMesh StaticMesh, Vector CenterPosition, float Radius)
Parameters
Type | Name | Description |
---|---|---|
UObject | WorldContextObject | |
StaticMesh | StaticMesh | |
Vector | CenterPosition | |
System.Single | Radius |
Returns
Type | Description |
---|---|
System.Int32 |
Remarks
param Mesh The static mesh we are interested in counting @param CenterPosition The center position of the sphere @param Radius The radius of the sphere.
return number of foliage instances with their mesh set to Mesh that overlap the sphere
New(UObject, Name)
Spawn an object of this class
Declaration
public static FoliageStatistics New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
FoliageStatistics |
Operators
| Improve this Doc View SourceImplicit(IntPtr to FoliageStatistics)
Convert from IntPtr to UObject
Declaration
public static implicit operator FoliageStatistics(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
FoliageStatistics |