Inheritence with node3d
I wanted to create my own object ( a table, a few children nodes connected
to it, and a few children nodes connected to them ), and to extend the functionlaties of my object, whilst keeping all the node3d functions ( such as visible, rotate, etc... ) available. So is it possible to inherit from the node3d class? If so, how do i do it? thanks |
Sure, the following code show a basic example:
Code:
class MyNode(viz.VizNode): |
All times are GMT -7. The time now is 10:52 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC