DetachNodeObject()

Syntax

Result = DetachNodeObject(#Node, ObjectID, Type)
Description
Detach a previously attached object from a #Node. The supported objects are the followings:
  - Entity : use EntityID() as 'ObjectID' and #PB_Node_Entity as 'Type'.
  - Sound3D: use SoundID3D() as 'ObjectID' and #PB_Node_Sound3D as 'Type'.
  - Camera : use CameraID() as 'ObjectID' and #PB_Node_Camera as 'Type'.
  - Node   : use NodeID() as 'ObjectID' and #PB_Node_Node as 'Type'.
  - BillboardGroup : use BillboardGroupID() as 'ObjectID' and #PB_Node_BillboardGroup as 'Type'.
  - ParticleEmitter: use ParticleEmitterID() as 'ObjectID' and #PB_Node_ParticleEmitter as 'Type'.
An object can be attached to a node with AttachNodeObject().

Supported OS

All

<- CreateNode() - Node Index - FreeNode() ->