[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[x3d-public] X3D Prototypes, never ending story...
Hello again,
If I declare a Prototype like this:
<ProtoDeclare name="TestProto">
<ProtoInterface>
<field name="children" accessType="inputOutput"
type="MFNode"/>
</ProtoInterface>
<ProtoBody>
<Group>
<Shape><Sphere/></Shape>
<IS>
<connect nodeField="children"
protoField="children"/>
</IS>
</Group>
</ProtoBody>
</ProtoDeclare>
Is it normal that I can't see the Shape if I make an instance of this
Prototype?
Another thing is that if I want to know the number of the children in
the Prototype node I get zero.
But it should be 1 because I have the group Node which contains the
Shape...
Greetings,
Wolfgang Meyerle
TO Don Brutzman. I think I've found an error in your book on page 201.
The TimeSensor should give out an SFFloat for fraction_changed not an
SFTime because
The Interpolators also use SFFloat as Input, or is SFTime a
specialization of SFFloat?
-------------------------------------------------------------------------
for list subscription/unsubscription,
go to http://www.web3d.org/cgi-bin/public_list_signup/lwgate/listsavail.html