UnityEngine.BoundingSphere.BoundingSphere C# (CSharp) Метод

BoundingSphere() публичный Метод

Initializes a BoundingSphere.

public BoundingSphere ( Vector3 pos, float rad ) : System
pos Vector3 The center of the sphere.
rad float The radius of the sphere.
Результат System
        public BoundingSphere(Vector3 pos, float rad)
        {
            this.position = pos;
            this.radius = rad;
        }

Same methods

BoundingSphere::BoundingSphere ( Vector4 packedSphere ) : System
BoundingSphere