C# Класс UnityEngine.BoundingSphere

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
position Vector3
radius float

Открытые методы

Метод Описание
BoundingSphere ( Vector3 pos, float rad ) : System

Initializes a BoundingSphere.

BoundingSphere ( Vector4 packedSphere ) : System

Initializes a BoundingSphere.

Описание методов

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

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

Initializes a BoundingSphere.

public BoundingSphere ( Vector4 packedSphere ) : System
packedSphere Vector4 A four-component vector containing the position (packed into the XYZ components) and radius (packed into the W component).
Результат System

Описание свойств

position публичное свойство

The position of the center of the BoundingSphere.

public Vector3 position
Результат Vector3

radius публичное свойство

The radius of the BoundingSphere.

public float radius
Результат float