Tao.Ode SDK Documentation |
|
Ode.dCreateBox Method
Create a box geom of the given x/y/z side lengths (lx,ly,lz), and return its ID. If space is nonzero, insert it into that space. The point of reference for a box is its center.
[Visual Basic]
Public Shared Function dCreateBox( _
ByVal
space As
IntPtr, _
ByVal
lx As
Single, _
ByVal
ly As
Single, _
ByVal
lz As
Single _
) As
IntPtr
Parameters
-
space
- the space the box should be inserted to
-
lx
- length of the x side
-
ly
- length of the y side
-
lz
- length of the z side
Return Value
A dGeomID
See Also
Ode Class | Tao.Ode Namespace