C# 클래스 SuperImageEvolver.DNA

상속: ICloneable
파일 보기 프로젝트 열기: fragmer/SuperImageEvolver 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Divergence double
LastMutation MutationType
Shapes Shape[]

공개 메소드들

메소드 설명
Clone ( ) : object
DNA ( ) : System
DNA ( DNA other ) : System
DNA ( NBTag tag ) : System
DNA ( Stream stream, int shapes, int vertices ) : System
DivideShape ( Random rand, int shapeToDivide, int shapeToSacrifice ) : void
SerializeNBT ( string tagName ) : NBTag
ShiftShapeIndex ( int source, int dest ) : void
SwapShapes ( Random rand ) : void

비공개 메소드들

메소드 설명
Lerp ( PointF p1, PointF p2, float amount ) : PointF
ShiftPoints ( Shape shape, int shift ) : Shape
Subdivide ( Random rand, Shape shape, int extraVertices ) : void

메소드 상세

Clone() 공개 메소드

public Clone ( ) : object
리턴 object

DNA() 공개 메소드

public DNA ( ) : System
리턴 System

DNA() 공개 메소드

public DNA ( DNA other ) : System
other DNA
리턴 System

DNA() 공개 메소드

public DNA ( NBTag tag ) : System
tag NBTag
리턴 System

DNA() 공개 메소드

public DNA ( Stream stream, int shapes, int vertices ) : System
stream Stream
shapes int
vertices int
리턴 System

DivideShape() 공개 메소드

public DivideShape ( Random rand, int shapeToDivide, int shapeToSacrifice ) : void
rand System.Random
shapeToDivide int
shapeToSacrifice int
리턴 void

SerializeNBT() 공개 메소드

public SerializeNBT ( string tagName ) : NBTag
tagName string
리턴 NBTag

ShiftShapeIndex() 공개 메소드

public ShiftShapeIndex ( int source, int dest ) : void
source int
dest int
리턴 void

SwapShapes() 공개 메소드

public SwapShapes ( Random rand ) : void
rand Random
리턴 void

프로퍼티 상세

Divergence 공개적으로 프로퍼티

public double Divergence
리턴 double

LastMutation 공개적으로 프로퍼티

public MutationType LastMutation
리턴 MutationType

Shapes 공개적으로 프로퍼티

public Shape[] Shapes
리턴 Shape[]