I only see the alphaMode in the SceneMaterial constructor, but not in
the SceneMaterial.custom function? Not is there a settable property for
this? I want objects with some of my custom materials to use the
TRANSLUCENT_POST option.
I don't see a SceneTexture constructor that takes a bitmap as an
argument AND disables or enables mipmapping.val samplerConfig =
SamplerConfig( mipmapMode = Filter.NEAREST, minFilter = Filter.NEAREST,
magFilter = Filter.NEAREST, addressModeU = Addres...
I have no problem creating SceneTexture objects using ARGB_8888 bitmaps,
but when I try to use RGBA_F16 the resulting textures are stretched like
it is only reading 8-bit data. Here is an example of how I am trying to
create an RGBA_F16 bitmap from a...
On the host we can query the position and orientation of the head as
follows:fun getHeadPose(): Pose { val head = Query.where {
has(AvatarAttachment.id) } .eval() .filter { it.isLocal() &&
it.getComponent().type == "head" } .first() return
head.getCo...
There are a number of "setter methods" for SceneObject, but I am not
finding where the corresponding "getter methods" are.e.g. getName(),
getPosition(), getRotation(), isVisible(), etc...
Thank you. This works using Transform(Pose(...)) components in that the
transforms are properly applied to the children in a hierarchical
manner. But Scale components do not seem to propagate to their child
entities. For example, given I have a paren...
I am still not sure how the sceneObject gets fully linked to the ECS
system.Something must be done in the lambda below that associates
sceneObject with fooEntity ... what does the complete () function do in
this case? i.e. what is suppose to be done ...
The meshWithMaterials method also takes the following parameters:colors:
IntArray (is this 3 or 4 channels; what is the range of each
channel)materialRanges: IntArray (not sure how this is encoded? must be
indexes for materials array?)indices: IntArr...