Example #1
0
/// <summary>Returns the bounding box, in local space including bounds extension(s), of the StaticMesh asset</summary>
        public FBox GetBoundingBox()
        {
            CheckIsValid();
            FBox ___ret = GetBoundingBox(_this.Get());

            return(___ret);
        }
 static extern int[] GetInstancesOverlappingBox(IntPtr _this, ref FBox Box, int bBoxInWorldSpace);
 /// <summary>Returns the instances with instance bounds overlapping the specified box. The return value is an array of instance indices.</summary>
 public int[] GetInstancesOverlappingBox(FBox Box, bool bBoxInWorldSpace = true)
 {
     CheckIsValid();
     int[] ___ret = GetInstancesOverlappingBox(_this.Get(), ref Box, bBoxInWorldSpace?1:0);
     return(___ret);
 }
 /// <summary>
 /// Creates and initializes a new instance the given Box.
 /// <para>The sphere radius is taken from the extent of the box. </para>
 /// </summary>
 /// <param name="box">The bounding box.</param>
 public FBoxSphereBounds(FBox box) :
     base(E_CreateStruct_FBoxSphereBounds_FBox(box), false)
 {
 }
 /// <summary>
 /// Creates and initializes a new instance from the given Box and Sphere.
 /// </summary>
 /// <param name="box">The bounding box.</param>
 /// <param name="sphere">The bounding sphere.</param>
 public FBoxSphereBounds(FBox box, FSphere sphere) :
     base(E_CreateStruct_FBoxSphereBounds_FBox_FSphere(box, sphere), false)
 {
 }