The
TGLProxyObject allows you to make copy an existing object usually resulting in a higher framerate than if a true copy was made.
If the object is very primitive (eg a plane) then higher frame rates may not be observed. The
TGLProxyObject descends from
TGLSceneObject therefore it is possible to change the position, rotation etc of the proxy object, therefore allowing for different sizes, positions of proxy relative to the original object. To proxy more than one object you can make a
dummycube the master object with the multiple objects as children. Proxying a
dummycube this way will not allow you to change the positions, directions and scales of children of the
dummycube, only the
dummycube itself.
Important
TGLProxyObject attributes include:
masterobject:
TGLBaseSceneObject
The object wish to copy. This can be specified at design time.
Demo:
CVS/Demos/meshes/mushroom∞
Unit:
GLScene∞
Descends from
TGLBaseSceneObject.
|
|
Attachment
|
Size
|
Date Added
|
| | |