C# Class FlatRedBall.Content.Math.Geometry.ShapeCollectionSave

Afficher le fichier Open project: vchelaru/FlatRedBall Class Usage Examples

Méthodes publiques

Свойство Type Description
AxisAlignedCubeSaves List
AxisAlignedRectangleSaves List
CircleSaves List
PolygonSaves List
SphereSaves List

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
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

Method Details

AddAxisAlignedCubeList() public méthode

public AddAxisAlignedCubeList ( PositionedObjectList axisAlignedCubesToAdd ) : void
axisAlignedCubesToAdd PositionedObjectList
Résultat void

AddAxisAlignedRectangleList() public méthode

public AddAxisAlignedRectangleList ( PositionedObjectList axisAlignedRectanglesToAdd ) : void
axisAlignedRectanglesToAdd PositionedObjectList
Résultat void

AddCircleList() public méthode

public AddCircleList ( PositionedObjectList circlesToAdd ) : void
circlesToAdd PositionedObjectList
Résultat void

AddPolygonList() public méthode

public AddPolygonList ( PositionedObjectList polygonsToAdd ) : void
polygonsToAdd PositionedObjectList
Résultat void

AddSphereList() public méthode

public AddSphereList ( PositionedObjectList spheresToAdd ) : void
spheresToAdd PositionedObjectList
Résultat void

FromFile() public static méthode

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.
Résultat ShapeCollectionSave

FromShapeCollection() public static méthode

public static FromShapeCollection ( ShapeCollection shapeCollection ) : ShapeCollectionSave
shapeCollection ShapeCollection
Résultat ShapeCollectionSave

Save() public méthode

public Save ( string fileName ) : void
fileName string
Résultat void

SetShapeCollection() public méthode

public SetShapeCollection ( ShapeCollection newShapeCollection ) : void
newShapeCollection ShapeCollection
Résultat void

Shift() public méthode

public Shift ( Vector3 shiftAmount ) : void
shiftAmount Vector3
Résultat void

ToAxisAlignedCubeList() public méthode

public ToAxisAlignedCubeList ( ) : PositionedObjectList
Résultat PositionedObjectList

ToAxisAlignedRectangleList() public méthode

public ToAxisAlignedRectangleList ( ) : PositionedObjectList
Résultat PositionedObjectList

ToCircleList() public méthode

public ToCircleList ( ) : PositionedObjectList
Résultat PositionedObjectList

ToPolygonList() public méthode

public ToPolygonList ( ) : PositionedObjectList
Résultat PositionedObjectList

ToShapeCollection() public méthode

public ToShapeCollection ( ) : ShapeCollection
Résultat ShapeCollection

ToSphereList() public méthode

public ToSphereList ( ) : PositionedObjectList
Résultat PositionedObjectList

Property Details

AxisAlignedCubeSaves public_oe property

public List AxisAlignedCubeSaves
Résultat List

AxisAlignedRectangleSaves public_oe property

public List AxisAlignedRectangleSaves
Résultat List

CircleSaves public_oe property

public List CircleSaves
Résultat List

PolygonSaves public_oe property

public List PolygonSaves
Résultat List

SphereSaves public_oe property

public List SphereSaves
Résultat List