Its me again, I hope this isn't getting annoying, but this list seems
to be by far the best way to get help. (Thanks Guys! Maybe soon I will
be able to help people)
I want to clone an object3D's subclass, but change their material (just
color in this case) independently. It appears I can not use clone, but
I can not find any way to copy the geometry. I can copy everything else
I need (properties and such), but not the actual geometry.
I thought something like this might work, but it does the same thing as
clone. Basically, when I change the color of one instance they all
change.
Function Copy() As Particle
Dim p As new Particle
//Copy Properties from me to p here
Dim i As Integer
for i=0 to ShapeCount-1
p.AddShapeFromHandle GetShapeHandle(i)
next
Return p
End Function
What can I do?
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|