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