Logo
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Yukar.Engine.EffectDrawer3D Class Reference

Playback processing when particles are used as battle effects. More...

Inheritance diagram for Yukar.Engine.EffectDrawer3D:
Yukar.Engine.EffectDrawerBase

Public Member Functions

override void load (RomItem inRom, Catalog catalog)
 
void loadImpl (RomItem inRom, Catalog catalog, float delay)
 
override void initialize ()
 
override void finalize ()
 
override void update (bool playSE=true, float elapsed=-1)
 
override void draw (SharpKmyMath.Matrix4 pp, SharpKmyMath.Matrix4 vv)
 
override bool drawFor3D (MapCharacter src, MapCharacter dest, int totalCount, float yangle)
 
override void drawFlash ()
 
override Color getNowTargetColor ()
 
override bool isSameRom (Guid guid)
 
void setDisplayId (uint id=uint.MaxValue)
 
- Public Member Functions inherited from Yukar.Engine.EffectDrawerBase
virtual void load (Common.Rom.RomItem rom, Common.Catalog catalog)
 
abstract void initialize ()
 
abstract void finalize ()
 
abstract void update (bool playSE=true, float elapsed=-1)
 
virtual void draw (int targetX, int targetY, bool withFlash=true)
 
abstract void draw (SharpKmyMath.Matrix4 pp, SharpKmyMath.Matrix4 vv)
 
abstract void drawFlash ()
 
abstract Color getNowTargetColor ()
 
abstract bool isSameRom (Guid guid)
 
virtual bool drawFor3D (MapCharacter src, MapCharacter dest, int totalCount, float yangle)
 

Static Public Member Functions

static void setStartWait (float v)
 
static void ResetStartWait ()
 
- Static Public Member Functions inherited from Yukar.Engine.EffectDrawerBase
static EffectDrawerBase createAndLoad (Common.Rom.RomItem effect, Catalog catalog, MapCharacter mapChr=null)
 

Public Attributes

Common.Resource.Particle rom
 
List< SharpKmyGfx.ParticleInstancechrs = new List<SharpKmyGfx.ParticleInstance>()
 
List< SharpKmyGfx.LocalLightlights = new List<SharpKmyGfx.LocalLight>()
 
int soundId = -1
 
bool soundPlayed
 
bool shakeStarted
 
EffectDrawer3D parent
 
- Public Attributes inherited from Yukar.Engine.EffectDrawerBase
Common.Rom.RomItem effect
 
MapCharacter mapChr
 

Static Public Attributes

static uint sDisplayID = Util.BATTLE3DDISPLAYID
 
static Action< SharpKmyMath.Vector2sShakeValueHandler = null
 

Additional Inherited Members

- Properties inherited from Yukar.Engine.EffectDrawerBase
bool isEndPlaying = true [get, set]
 
bool isOverDamageTime = true [get, set]
 
bool isEndPlayingOrOverDamageTime [get]
 
virtual NSprite.OrigPos origPos [get]
 

Detailed Description

Playback processing when particles are used as battle effects.

Member Function Documentation

◆ draw()

override void Yukar.Engine.EffectDrawer3D.draw ( SharpKmyMath.Matrix4  pp,
SharpKmyMath.Matrix4  vv 
)
virtual

◆ drawFlash()

override void Yukar.Engine.EffectDrawer3D.drawFlash ( )
virtual

◆ drawFor3D()

override bool Yukar.Engine.EffectDrawer3D.drawFor3D ( MapCharacter  src,
MapCharacter  dest,
int  totalCount,
float  yangle 
)
virtual

Reimplemented from Yukar.Engine.EffectDrawerBase.

◆ finalize()

override void Yukar.Engine.EffectDrawer3D.finalize ( )
virtual

◆ getNowTargetColor()

override Color Yukar.Engine.EffectDrawer3D.getNowTargetColor ( )
virtual

◆ initialize()

override void Yukar.Engine.EffectDrawer3D.initialize ( )
virtual

◆ isSameRom()

override bool Yukar.Engine.EffectDrawer3D.isSameRom ( Guid  guid)
virtual

◆ load()

override void Yukar.Engine.EffectDrawer3D.load ( RomItem  inRom,
Catalog  catalog 
)

◆ loadImpl()

void Yukar.Engine.EffectDrawer3D.loadImpl ( RomItem  inRom,
Catalog  catalog,
float  delay 
)

◆ ResetStartWait()

static void Yukar.Engine.EffectDrawer3D.ResetStartWait ( )
static

◆ setDisplayId()

void Yukar.Engine.EffectDrawer3D.setDisplayId ( uint  id = uint.MaxValue)

◆ setStartWait()

static void Yukar.Engine.EffectDrawer3D.setStartWait ( float  v)
static

◆ update()

override void Yukar.Engine.EffectDrawer3D.update ( bool  playSE = true,
float  elapsed = -1 
)
virtual

Member Data Documentation

◆ chrs

List<SharpKmyGfx.ParticleInstance> Yukar.Engine.EffectDrawer3D.chrs = new List<SharpKmyGfx.ParticleInstance>()

◆ lights

List<SharpKmyGfx.LocalLight> Yukar.Engine.EffectDrawer3D.lights = new List<SharpKmyGfx.LocalLight>()

◆ parent

EffectDrawer3D Yukar.Engine.EffectDrawer3D.parent

◆ rom

Common.Resource.Particle Yukar.Engine.EffectDrawer3D.rom

◆ sDisplayID

uint Yukar.Engine.EffectDrawer3D.sDisplayID = Util.BATTLE3DDISPLAYID
static

◆ shakeStarted

bool Yukar.Engine.EffectDrawer3D.shakeStarted

◆ soundId

int Yukar.Engine.EffectDrawer3D.soundId = -1

◆ soundPlayed

bool Yukar.Engine.EffectDrawer3D.soundPlayed

◆ sShakeValueHandler

Action<SharpKmyMath.Vector2> Yukar.Engine.EffectDrawer3D.sShakeValueHandler = null
static