Class DrawFrustumComponent
Utility component for drawing a view frustum. Origin is at the component location, frustum points down position X axis.
Inheritance
System.Object
DrawFrustumComponent
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.Engine
Assembly: UE4DotNet.dll
Syntax
public class DrawFrustumComponent : PrimitiveComponent
Properties
| Improve this Doc View SourceDefaultObject
Get UE4 Default Object for this Class
Declaration
public static DrawFrustumComponent DefaultObject { get; }
Property Value
Type | Description |
---|---|
DrawFrustumComponent |
FrustumAngle
Angle of longest dimension of view shape.
Declaration
public float FrustumAngle { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Remarks
If the angle is 0 then an orthographic projection is used
FrustumAspectRatio
Ratio of horizontal size over vertical size.
Declaration
public float FrustumAspectRatio { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
FrustumColor
Color to draw the wireframe frustum.
Declaration
public Color FrustumColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
FrustumEndDist
Distance from origin to stop drawing the frustum.
Declaration
public float FrustumEndDist { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
FrustumStartDist
Distance from origin to start drawing the frustum.
Declaration
public float FrustumStartDist { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
Texture
optional texture to show on the near plane
Declaration
public Texture Texture { get; set; }
Property Value
Type | Description |
---|---|
Texture |
Methods
| Improve this Doc View SourceNew(UObject, Name)
Spawn an object of this class
Declaration
public static DrawFrustumComponent New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
DrawFrustumComponent |
Operators
| Improve this Doc View SourceImplicit(IntPtr to DrawFrustumComponent)
Convert from IntPtr to UObject
Declaration
public static implicit operator DrawFrustumComponent(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
DrawFrustumComponent |