C# 클래스 Glare.Sphere4

A sphere definition, which has a position and radius.
파일 보기 프로젝트 열기: Burton-Radons/Alexandria

공개 프로퍼티들

프로퍼티 타입 설명
Position System.Vector4
Radius Length

공개 메소드들

메소드 설명
Sphere4 ( Length radius ) : System

Initialise a sphere centred at origin.

Sphere4 ( System.Vector4 position, Length radius ) : System

Initialise the Sphere3d.

메소드 상세

Sphere4() 공개 메소드

Initialise a sphere centred at origin.
public Sphere4 ( Length radius ) : System
radius Length The radius of the .
리턴 System

Sphere4() 공개 메소드

Initialise the Sphere3d.
public Sphere4 ( System.Vector4 position, Length radius ) : System
position System.Vector4 The centre of the .
radius Length The radius of the .
리턴 System

프로퍼티 상세

Position 공개적으로 프로퍼티

Get or set the centre of the Sphere3d.
public Vector4,System Position
리턴 System.Vector4

Radius 공개적으로 프로퍼티

Get or set the radius of the Sphere3d.
public Length Radius
리턴 Length