Skip to content
This repository has been archived by the owner on Dec 26, 2018. It is now read-only.

Releases: ejeinc/Meganekko

Native object deletion was changed

02 May 13:12
Compare
Choose a tag to compare

Direct call to HybridObject.delete() was deprecated. Use MeganekkoApp.delete(HybridObject).

Bug fix for Scene.isLookingAt

30 Apr 16:07
Compare
Choose a tag to compare

2.0.9

05 Apr 11:29
Compare
Choose a tag to compare

Add opacity animation

SceneObject obj;

obj.animate()
    .opacity(0.5f)
    .start(app);

Improve rendering for transparent object

05 Apr 05:12
Compare
Choose a tag to compare

2.0.7

05 Apr 05:13
Compare
Choose a tag to compare

onKeyDown propagation bug was fixed

onkeydown

05 Apr 05:13
Compare
Choose a tag to compare

onKeyDown propagation bug was fixed

Simple API

31 Mar 03:19
Compare
Choose a tag to compare

Example:

SceneObject obj = getSceneObject();

// Simple getter and setter
Vector3f pos = obj.position();
pos.add(1,0,0);
obj.position(pos);

Vector3f scale = obj.scale();
scale.mul(2,1,1);
obj.scale(scale);

Quaternionf q = obj.rotation();
q.rotate(0.5f, 0.5f, 0);
obj.rotation(q);

// other getters
Mesh mesh = obj.mesh();
Material material = obj.material();
Texture texture = material.texture();

// Animation
obj.animate()
    .moveTo(new Vector3f(1, 0, 0))
    .start(app);

obj.animate()
    .scaleBy(new Vector3f(1.5f, 1, 1))
    .start(app);

obj.animate()
    .moveBy(new Vector3f(0.5f, 0.5f, 0))
    .rotateBy(0.5f, 0, 0)
    .duration(2000)
    .start(app);

2.0.3

14 Mar 03:38
Compare
Choose a tag to compare

issue #7 Update opacity when scene object is added to its parent
issue #11 Fix behavior of Scene.isLookingAt

2.0.2

14 Mar 03:38
Compare
Choose a tag to compare

CanvasRenderer.isDirty works correctly

2.0.1

07 Mar 03:34
Compare
Choose a tag to compare
  • add onHmdMounted and onHmdUnmounted
  • Required permission, element and attributes are injected from library AndroidManifest.xml
  • add delayed version runOnGlThread and runOnUiThread