C# Класс Glare.Sphere3

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

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

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

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

Метод Описание
Sphere3 ( Length radius ) : System

Initialise a sphere centred at origin.

Sphere3 ( System.Vector3 position, Length radius ) : System

Initialise the Sphere3d.

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

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

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

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

Initialise the Sphere3d.
public Sphere3 ( System.Vector3 position, Length radius ) : System
position System.Vector3 The centre of the .
radius Length The radius of the .
Результат System

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

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

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

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

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