This repository has been archived by the owner on Jan 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
"_children":"Shape"` vs Array of {"$":"Shape"} #4
Labels
Comments
Let's imagine a SFNode of type In VRML, it would be:
_childrenThe downsides would be:
{
"_children": "SpecialGroup",
...
"WHAT_PROPERTY_ID_HERE": [
{
"_someChildren": "Shape"
...
},
{
"_someChildren": "Transform"
...
},
{
"_someChildren": "Shape"
...
},
{
"_otherChildren": "Shape"
...
},
{
"_otherChildren": "Transform"
...
},
{
"_otherChildren": "Shape"
...
}
]
} $Using
[
{
"$": "SpecialGroup",
"someChildren": [
{
"$": "Shape"
...
},
{
"$": "Transform"
...
},
{
"$": "Shape"
...
}
],
"otherChildren": [
{
"$": "Shape"
...
},
{
"$": "Transform"
...
},
{
"$": "Shape"
...
}
]
}
] |
"_children": "Shape"
+ no _type
vs Array of {"_type":"Shape"}
"_children": "Shape"
+ no _type
vs Array of {"_type":"Shape"}
+ no
_type` vs Array of {"_type":"Shape"}
+ no
_type` vs Array of {"_type":"Shape"}
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
A question from the X3D mailing-list referencing #1 :
The text was updated successfully, but these errors were encountered: