diff --git a/app/src/main/java/com/google/ar/core/examples/java/common/java3d/Appearance.java b/app/src/main/java/com/google/ar/core/examples/java/common/java3d/Appearance.java index 272795f..002266e 100644 --- a/app/src/main/java/com/google/ar/core/examples/java/common/java3d/Appearance.java +++ b/app/src/main/java/com/google/ar/core/examples/java/common/java3d/Appearance.java @@ -6,6 +6,8 @@ private TextureAttributes textureAttribute = null; private TexCoordGeneration texCoordGeneration = null; private TextureUnitState[] stateArray; + private TransparencyAttributes transparencyAttributes = null; + private ColoringAttributes coloringAttributes = null; public void setMaterial(Material m) { this.material = m; @@ -57,6 +59,22 @@ this.texCoordGeneration = texCoordGeneration; } + public TransparencyAttributes getTransparencyAttributes() { + return transparencyAttributes; + } + + public void setTransparencyAttributes(TransparencyAttributes transparencyAttributes) { + this.transparencyAttributes = transparencyAttributes; + } + + public ColoringAttributes getColoringAttributes() { + return coloringAttributes; + } + + public void setColoringAttributes(ColoringAttributes coloringAttributes) { + this.coloringAttributes = coloringAttributes; + } + @Override public NodeComponent cloneNodeComponent() { Appearance ap = new Appearance();