UnityEngine.GeometryUtility.INTERNAL_CALL_CalculateBounds C# (CSharp) Method

INTERNAL_CALL_CalculateBounds() private method

private INTERNAL_CALL_CalculateBounds ( Vector3 positions, Matrix4x4 &transform, Bounds &value ) : void
positions Vector3
transform Matrix4x4
value Bounds
return void
        private static extern void INTERNAL_CALL_CalculateBounds(Vector3[] positions, ref Matrix4x4 transform, out Bounds value);
        [MethodImpl(MethodImplOptions.InternalCall)]

Usage Example

コード例 #1
0
        public static Bounds CalculateBounds(Vector3[] positions, Matrix4x4 transform)
        {
            Bounds result;

            GeometryUtility.INTERNAL_CALL_CalculateBounds(positions, ref transform, out result);
            return(result);
        }