javascript - XML3D: XFLOW syntax -


i have 2 question regarding xflow syntax:

  1. can use xflow data gained <assetdata>node?

  2. what difference between <data> , <assetdata> seem 2 have same functionalities. or in other words assetdata node considered datacontainer.

right main difference between <data> , <assetdata> includes attribute, can reference <assetdata>'s name attribute , scoped enclosing <asset>. designed way make possible nest assets or declare many assets in same document without having worry making sure ids may use unique (like if use src attribute of <data> elements, reference html id).

the other differences are:

  • you can't nest <assetdata> elements. can same functionality using includes attribute though.
  • <assetdata> elements can used inside <asset> element

aside work <data> elements do, can give them compute operators or nest other data inside them or overwrite data <data> elements. may merged in future version of xml3d.

have @ recursive asset example more complicated use case.


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -