C# 클래스 SWFProcessing.SWFModeller.Characters.Sprite

A sprite object with its own timeline
상속: SWFProcessing.SWFModeller.Modelling.Timeline, ICharacter
파일 보기 프로젝트 열기: WeeWorld/Swiffotron 1 사용 예제들

공개 메소드들

메소드 설명
FindInstance ( string name ) : PlaceObject
Sprite ( Timeline srcTimeline, SWF root, string className = null ) : System.Collections.Generic

Initializes a new instance of a sprite by cloning another timeline.

Sprite ( uint frameCount, SWF root ) : System.Collections.Generic

Initializes a new instance of a sprite and empty timeline.

SpriteProc ( SpriteProcessor sp ) : void

Calls a delegate method on each descendant sprite in this sprite.

ToString ( ) : string

Renders the sprite as a string. Used only in test/debug console output.

ToStringModelView ( int nest, StringBuilder sb, bool &oneLiner ) : void

Unit test method present in the debug build. Renders the object as text that can be written to a diffable output file.

비공개 메소드들

메소드 설명
PopulateCharacterRefList ( ListSet refs ) : ListSet
RemapFonts ( SWF incoming, SWF root ) : void

This will alter the incoming SWF's font references. Any new fonts will be left untouched. Any fonts that exist in root already will have their glyphs imported into the root SWF's fonts and references will re-point to the now possibly larger font. Any fonts that exist only in incoming will be left alone since importing the SWF as a movieclip will automatically make those fonts part of root.

메소드 상세

FindInstance() 공개 메소드

public FindInstance ( string name ) : PlaceObject
name string
리턴 PlaceObject

Sprite() 공개 메소드

Initializes a new instance of a sprite by cloning another timeline.
public Sprite ( Timeline srcTimeline, SWF root, string className = null ) : System.Collections.Generic
srcTimeline SWFProcessing.SWFModeller.Modelling.Timeline The timeline to clone.
root SWF
className string If the cloned timeline is a SWF, then /// you should pass in a class name here. The MainTimeline class /// will be renamed in here to this new name.
리턴 System.Collections.Generic

Sprite() 공개 메소드

Initializes a new instance of a sprite and empty timeline.
public Sprite ( uint frameCount, SWF root ) : System.Collections.Generic
frameCount uint The initial number of empty frames on /// the timeline.
root SWF
리턴 System.Collections.Generic

SpriteProc() 공개 메소드

Calls a delegate method on each descendant sprite in this sprite.
public SpriteProc ( SpriteProcessor sp ) : void
sp SpriteProcessor
리턴 void

ToString() 공개 메소드

Renders the sprite as a string. Used only in test/debug console output.
public ToString ( ) : string
리턴 string

ToStringModelView() 공개 메소드

Unit test method present in the debug build. Renders the object as text that can be written to a diffable output file.
public ToStringModelView ( int nest, StringBuilder sb, bool &oneLiner ) : void
nest int The current nest level in our output
sb System.Text.StringBuilder The buffer that is accumulating output.
oneLiner bool
리턴 void