Cusom Scene note tutorial for vb.net

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
gagagu
Posts: 8
Joined: Wed Jul 13, 2005 1:32 pm

Cusom Scene note tutorial for vb.net

Post by gagagu »

Hi,
i have a problen to convert the custom scene node tutorial from c++ to vb .net because the ISceneNode class (in .net) has no or a private construktor so it is not possible in vb .net to inherit this class without any constructor.

sample code:

Code: Select all

    Class CSampleSceneNode
        Inherits Scene.ISceneNode

        '// Konstructor
        Sub New()              '// must create because ISceneNode has no one
            MyBase.new()     '// must call the ISceneNode construtor
                                    '// it generates an error because ISceneNode has ´
                                    '// no constructor
        End Sub
    End Class
is it possible to fix it ?
THX forward
Post Reply