Class LandscapeHeightfieldCollisionComponent
Landscape Heightfield Collision Component
Inheritance
System.Object
LandscapeHeightfieldCollisionComponent
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.Landscape
Assembly: UE4DotNet.dll
Syntax
public class LandscapeHeightfieldCollisionComponent : PrimitiveComponent
Properties
| Improve this Doc View SourceCachedLocalBox
Cached local-space bounding box, created at heightmap update time
Declaration
public Box CachedLocalBox { get; set; }
Property Value
Type | Description |
---|---|
Box |
CollisionScale
Collision scale: (ComponentSizeQuads) / (CollisionSizeQuads)
Declaration
public float CollisionScale { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
CollisionSizeQuads
Size of component in collision quads
Declaration
public int CollisionSizeQuads { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ComponentLayerInfos
List of layers painted on this component. Matches the WeightmapLayerAllocations array in the LandscapeComponent.
Declaration
public ObjectArrayField<LandscapeLayerInfoObject> ComponentLayerInfos { get; }
Property Value
Type | Description |
---|---|
ObjectArrayField<LandscapeLayerInfoObject> |
CookedPhysicalMaterials
This is a list of physical materials that is actually used by a cooked HeightField
Declaration
public ObjectArrayField<PhysicalMaterial> CookedPhysicalMaterials { get; }
Property Value
Type | Description |
---|---|
ObjectArrayField<PhysicalMaterial> |
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static LandscapeHeightfieldCollisionComponent DefaultObject { get; }
Property Value
Type | Description |
---|---|
LandscapeHeightfieldCollisionComponent |
HeightfieldGuid
Guid used to share PhysX heightfield objects in the editor
Declaration
public FGuid HeightfieldGuid { get; set; }
Property Value
Type | Description |
---|---|
FGuid |
SectionBaseX
Offset of component in landscape quads
Declaration
public int SectionBaseX { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SectionBaseY
Section Base Y
Declaration
public int SectionBaseY { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SimpleCollisionSizeQuads
Size of component's "simple collision" in collision quads
Declaration
public int SimpleCollisionSizeQuads { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
Methods
| Improve this Doc View SourceNew(UObject, Name)
Spawn an object of this class
Declaration
public static LandscapeHeightfieldCollisionComponent New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
LandscapeHeightfieldCollisionComponent |
Operators
| Improve this Doc View SourceImplicit(IntPtr to LandscapeHeightfieldCollisionComponent)
Convert from IntPtr to UObject
Declaration
public static implicit operator LandscapeHeightfieldCollisionComponent(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
LandscapeHeightfieldCollisionComponent |