C# Класс Glare.Sphere3f

A sphere definition, which has a position and radius.
Показать файл Открыть проект

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

Свойство Тип Описание
Position Vector3f
Radius System.Single

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

Метод Описание
Sphere3f ( System.Single radius ) : System

Initialise a sphere centred at origin.

Sphere3f ( Vector3f position, System.Single radius ) : System

Initialise the Sphere3d.

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

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

Initialise a sphere centred at origin.
public Sphere3f ( System.Single radius ) : System
radius System.Single The radius of the .
Результат System

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

Initialise the Sphere3d.
public Sphere3f ( Vector3f position, System.Single radius ) : System
position Vector3f The centre of the .
radius System.Single The radius of the .
Результат System

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

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

Get or set the centre of the Sphere3d.
public Vector3f Position
Результат Vector3f

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

Get or set the radius of the Sphere3d.
public Single,System Radius
Результат System.Single