public FVector4 TransformFVector(FVector v) { return(TransformFVector4(new FVector4(v.X, v.Y, v.Z, 0f))); }
public FBox(FBox box) { Min = box.Min; Max = box.Max; IsValid = box.IsValid; }
public readonly byte IsValid; // It's a bool /// <summary> /// Creates and initializes a new box from the specified extents. /// </summary> /// <param name="min">The box's minimum point.</param> /// <param name="max">The box's maximum point.</param> public FBox(FVector min, FVector max, byte isValid = 1) { Min = min; Max = max; IsValid = isValid; }
public FSphere(float x, float y, float z, float w) { Center = new FVector(x, y, z); W = w; }
public FBoxSphereBounds(FVector origin, FVector boxExtent, float sphereRadius) { Origin = origin; BoxExtent = boxExtent; SphereRadius = sphereRadius; }
/// <summary> /// Constructor from 3D Vector and W /// </summary> /// <param name="v">3D Vector to set first three components.</param> /// <param name="w">W Coordinate.</param> public FVector4(FVector v, float w = 1f) : this(v.X, v.Y, v.Z, w) { }