Not sure that I understand your question, but seems to me that you
would like to render only one specific mesh from scene.
If that is a case you can hide all other mehses. Like let's say that
you know name of your mesh what you would like to render.
You could try something like this.
[code]
private function hideAllOthers(obj:ObjectContainer3D,
strName:String):Object3D
{
for each(o:Object3D in obj.children)
{
if (obj is ObjectContainer3D)
hideAllOthers(obj, strName)
else
{
if (obj.name == strName)
obj.visible = true;
else
obj.visible = false;
}
}
}
[/code]
I don't have possiblity to test this code right now. So there might be
a bug or two :).
On 20 joulu, 09:46, vkt <[email protected]> wrote:
> is there possibe to render the mesh which I only want to render
> instead of whole scene?
> because I use z-order render type,if I use view.render. it's spend
> lots of time.