Glare.Box4.Relative C# (CSharp) Method

Relative() public static method

Create a Box4 by providing the minimum extent and the size of each side.
public static Relative ( Length minX, Length minY, Length minZ, Length minW, Length sizeX, Length sizeY, Length sizeZ, Length sizeW ) : Box4
minX Length
minY Length
minZ Length
minW Length
sizeX Length
sizeY Length
sizeZ Length
sizeW Length
return Box4
        public static Box4 Relative(  Length minX ,  Length minY ,  Length minZ ,  Length minW ,   Length sizeX ,  Length sizeY ,  Length sizeZ ,  Length sizeW  )
        {
            Box4 result;
                                            result.Min.X = minX;
                        result.Max.X = minX + sizeX;
                                            result.Min.Y = minY;
                        result.Max.Y = minY + sizeY;
                                            result.Min.Z = minZ;
                        result.Max.Z = minZ + sizeZ;
                                            result.Min.W = minW;
                        result.Max.W = minW + sizeW;
                                        return result;
        }

Same methods

Box4::Relative ( System.Vector4 min, System.Vector4 size ) : Box4
Box4::Relative ( Length minX, Length minY, Length minZ, Length minW, Length sizeX, Length sizeY, Length sizeZ, Length sizeW, Box4 &result ) : void
Box4::Relative ( System.Vector4 min, System.Vector4 size, Box4 &result ) : void