C# 클래스 Glare.Sphere2

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

공개 프로퍼티들

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

공개 메소드들

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

Initialise a sphere centred at origin.

Sphere2 ( System.Vector2 position, Length radius ) : System

Initialise the Sphere3d.

메소드 상세

Sphere2() 공개 메소드

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

Sphere2() 공개 메소드

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

프로퍼티 상세

Position 공개적으로 프로퍼티

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

Radius 공개적으로 프로퍼티

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