Home
last modified time | relevance | path

Searched refs:spawnShapeValue (Results 1 – 7 of 7) sorted by relevance

/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/influencers/
DSpawnInfluencer.java16 public SpawnShapeValue spawnShapeValue; field in SpawnInfluencer
20 spawnShapeValue = new PointSpawnShapeValue(); in SpawnInfluencer()
23 public SpawnInfluencer(SpawnShapeValue spawnShapeValue){ in SpawnInfluencer() argument
24 this.spawnShapeValue = spawnShapeValue; in SpawnInfluencer()
28 spawnShapeValue = source.spawnShapeValue.copy(); in SpawnInfluencer()
33 spawnShapeValue.init(); in init()
43 spawnShapeValue.start(); in start()
49 spawnShapeValue.spawn(TMP_V1, controller.emitter.percent); in activateParticles()
64 json.writeValue("spawnShape", spawnShapeValue, SpawnShapeValue.class); in write()
69 spawnShapeValue = json.readValue("spawnShape", SpawnShapeValue.class, jsonData); in read()
[all …]
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/flame/
DSpawnInfluencerPanel.java76 setCurrentSpawnData(influencer.spawnShapeValue); in SpawnInfluencerPanel()
77 shapeCombo.setSelectedItem(spawnShapeToString(influencer.spawnShapeValue)); in SpawnInfluencerPanel()
80 private void setCurrentSpawnData (SpawnShapeValue spawnShapeValue) { in setCurrentSpawnData() argument
82 if(spawnShapeValue instanceof PointSpawnShapeValue) in setCurrentSpawnData()
84 else if(spawnShapeValue instanceof LineSpawnShapeValue) in setCurrentSpawnData()
86 else if(spawnShapeValue instanceof RectangleSpawnShapeValue) in setCurrentSpawnData()
88 else if(spawnShapeValue instanceof EllipseSpawnShapeValue) in setCurrentSpawnData()
90 else if(spawnShapeValue instanceof CylinderSpawnShapeValue) in setCurrentSpawnData()
92 if(spawnShapeValue instanceof UnweightedMeshSpawnShapeValue) in setCurrentSpawnData()
94 else if(spawnShapeValue instanceof WeightMeshSpawnShapeValue) in setCurrentSpawnData()
[all …]
DEffectPanel.java115 EllipseSpawnShapeValue spawnShapeValue = new EllipseSpawnShapeValue(); in createDefaultModelInstanceController() local
116 spawnShapeValue.setDimensions(1, 1, 1); in createDefaultModelInstanceController()
117 SpawnInfluencer spawnSource = new SpawnInfluencer(spawnShapeValue); in createDefaultModelInstanceController()
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/particleeditor/
DSpawnPanel.java42 …public SpawnPanel (final ParticleEditor editor, final SpawnShapeValue spawnShapeValue, String name… in SpawnPanel() argument
47 edgesCheckbox.setSelected(spawnShapeValue.isEdges()); in SpawnPanel()
48 sideCombo.setSelectedItem(spawnShapeValue.getShape()); in SpawnPanel()
53 spawnShapeValue.setShape(shape); in SpawnPanel()
77 spawnShapeValue.setEdges(edgesCheckbox.isSelected()); in SpawnPanel()
85 spawnShapeValue.setSide(side); in SpawnPanel()
89 shapeCombo.setSelectedItem(spawnShapeValue.getShape()); in SpawnPanel()
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/values/
DMeshSpawnShapeValue.java61 MeshSpawnShapeValue spawnShapeValue = (MeshSpawnShapeValue) value; in load() local
62 setMesh(spawnShapeValue.mesh, spawnShapeValue.model); in load()
DSpawnShapeValue.java21 public SpawnShapeValue(SpawnShapeValue spawnShapeValue){ in SpawnShapeValue() argument
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/
DParticleEmitter.java55 private SpawnShapeValue spawnShapeValue = new SpawnShapeValue(); field in ParticleEmitter
120 spawnShapeValue.load(emitter.spawnShapeValue); in ParticleEmitter()
136 spawnShapeValue.setAlwaysActive(true); in initialize()
452 switch (spawnShapeValue.shape) { in activateParticle()
467 if (spawnShapeValue.edges) { in activateParticle()
469 switch (spawnShapeValue.side) { in activateParticle()
703 return spawnShapeValue; in getSpawnShape()
880 spawnShapeValue.save(output); in save()
933 spawnShapeValue.load(reader); in load()