Class CGBounds
- Namespace
- FluffyUnderware.Curvy.Generator
Bounds data class
[CGDataInfo(1, 0.8, 0.5, 1)]
public class CGBounds : CGData
- Inheritance
-
CGBounds
- Derived
- Inherited Members
Constructors
CGBounds()
public CGBounds()
CGBounds(CGBounds)
Copy constructor
public CGBounds(CGBounds source)
Parameters
sourceCGBounds
CGBounds(Bounds)
Initializes a new instance with the given bounds
public CGBounds(Bounds bounds)
Parameters
boundsBounds
Fields
mBounds
protected Bounds? mBounds
Field Value
- Bounds?
Properties
Bounds
Gets or sets the bounding volume
public Bounds Bounds { get; set; }
Property Value
- Bounds
Depth
Gets the depth (Z extent) of the bounds
public float Depth { get; }
Property Value
Methods
Clone<T>()
Creates a copy of this data instance
public override T Clone<T>() where T : CGData
Returns
- T
Type Parameters
T
Copy(CGBounds, CGBounds)
Copies bounds data from source to dest, if source has computed bounds
public static void Copy(CGBounds dest, CGBounds source)
Parameters
RecalculateBounds()
Recalculates the bounds and updates the value of Bounds
public virtual void RecalculateBounds()