C# 클래스 FlatRedBall.Content.Math.Geometry.ShapeCollectionSave

파일 보기 프로젝트 열기: vchelaru/FlatRedBall 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AxisAlignedCubeSaves List
AxisAlignedRectangleSaves List
CircleSaves List
PolygonSaves List
SphereSaves List

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
AddAxisAlignedCubeList ( PositionedObjectList axisAlignedCubesToAdd ) : void
AddAxisAlignedRectangleList ( PositionedObjectList axisAlignedRectanglesToAdd ) : void
AddCircleList ( PositionedObjectList circlesToAdd ) : void
AddPolygonList ( PositionedObjectList polygonsToAdd ) : void
AddSphereList ( PositionedObjectList spheresToAdd ) : void
FromFile ( string fileName ) : ShapeCollectionSave

Deserializes a file into a new ShapeCollectionSave and returns it.

FromShapeCollection ( ShapeCollection shapeCollection ) : ShapeCollectionSave
Save ( string fileName ) : void
SetShapeCollection ( ShapeCollection newShapeCollection ) : void
Shift ( Vector3 shiftAmount ) : void
ToAxisAlignedCubeList ( ) : PositionedObjectList
ToAxisAlignedRectangleList ( ) : PositionedObjectList
ToCircleList ( ) : PositionedObjectList
ToPolygonList ( ) : PositionedObjectList
ToShapeCollection ( ) : ShapeCollection
ToSphereList ( ) : PositionedObjectList

메소드 상세

AddAxisAlignedCubeList() 공개 메소드

public AddAxisAlignedCubeList ( PositionedObjectList axisAlignedCubesToAdd ) : void
axisAlignedCubesToAdd PositionedObjectList
리턴 void

AddAxisAlignedRectangleList() 공개 메소드

public AddAxisAlignedRectangleList ( PositionedObjectList axisAlignedRectanglesToAdd ) : void
axisAlignedRectanglesToAdd PositionedObjectList
리턴 void

AddCircleList() 공개 메소드

public AddCircleList ( PositionedObjectList circlesToAdd ) : void
circlesToAdd PositionedObjectList
리턴 void

AddPolygonList() 공개 메소드

public AddPolygonList ( PositionedObjectList polygonsToAdd ) : void
polygonsToAdd PositionedObjectList
리턴 void

AddSphereList() 공개 메소드

public AddSphereList ( PositionedObjectList spheresToAdd ) : void
spheresToAdd PositionedObjectList
리턴 void

FromFile() 공개 정적인 메소드

Deserializes a file into a new ShapeCollectionSave and returns it.
public static FromFile ( string fileName ) : ShapeCollectionSave
fileName string The absolute or relative file name. If the file name is relative, then the FileManager's RelativeDirectory will be used.
리턴 ShapeCollectionSave

FromShapeCollection() 공개 정적인 메소드

public static FromShapeCollection ( ShapeCollection shapeCollection ) : ShapeCollectionSave
shapeCollection ShapeCollection
리턴 ShapeCollectionSave

Save() 공개 메소드

public Save ( string fileName ) : void
fileName string
리턴 void

SetShapeCollection() 공개 메소드

public SetShapeCollection ( ShapeCollection newShapeCollection ) : void
newShapeCollection ShapeCollection
리턴 void

Shift() 공개 메소드

public Shift ( Vector3 shiftAmount ) : void
shiftAmount Vector3
리턴 void

ToAxisAlignedCubeList() 공개 메소드

public ToAxisAlignedCubeList ( ) : PositionedObjectList
리턴 PositionedObjectList

ToAxisAlignedRectangleList() 공개 메소드

public ToAxisAlignedRectangleList ( ) : PositionedObjectList
리턴 PositionedObjectList

ToCircleList() 공개 메소드

public ToCircleList ( ) : PositionedObjectList
리턴 PositionedObjectList

ToPolygonList() 공개 메소드

public ToPolygonList ( ) : PositionedObjectList
리턴 PositionedObjectList

ToShapeCollection() 공개 메소드

public ToShapeCollection ( ) : ShapeCollection
리턴 ShapeCollection

ToSphereList() 공개 메소드

public ToSphereList ( ) : PositionedObjectList
리턴 PositionedObjectList

프로퍼티 상세

AxisAlignedCubeSaves 공개적으로 프로퍼티

public List AxisAlignedCubeSaves
리턴 List

AxisAlignedRectangleSaves 공개적으로 프로퍼티

public List AxisAlignedRectangleSaves
리턴 List

CircleSaves 공개적으로 프로퍼티

public List CircleSaves
리턴 List

PolygonSaves 공개적으로 프로퍼티

public List PolygonSaves
리턴 List

SphereSaves 공개적으로 프로퍼티

public List SphereSaves
리턴 List