Mesh specified in a type ?

Blitz3D Forums/Blitz3D Beginners Area/Mesh specified in a type ?

StOrM3(Posted 2003) [#1]
How do I specify in my custom type that one of the fields contains a handle to a mesh that will be loaded and returned later ?

Thanks


GfK(Posted 2003) [#2]
m.MyType = New MyType
m\Entity = LoadMesh("Mymesh.3ds")

Type MyType
  Field Entity%
End Type



StOrM3(Posted 2003) [#3]
kewl so it is just a normal integer.. to store the handle in.. that is very easy.. I like that.

Thanks for the tip..