AttachNodeObject()
语法
AttachNodeObject(#Node, ObjectID)概要
Attachs an existing object to a node.
参数
#Node The node to use. ObjectID The object to attach. The supported objects are the followings: - Entity : use EntityID() as 'ObjectID'. - Sound3D: use SoundID3D() as 'ObjectID'. - Camera : use CameraID() as 'ObjectID'. - Light : use LightID() as 'ObjectID'. - Node : use NodeID() as 'ObjectID'. - Mesh : use MeshID() as 'ObjectID' (supported only if #PB_Mesh_Dynamic flag is set). - BillboardGroup : use BillboardGroupID() as 'ObjectID'. - ParticleEmitter: use ParticleEmitterID() as 'ObjectID'.
返回值
无.
Remarks
An object can be detached from a node with DetachNodeObject().
参阅
DetachNodeObject()
已支持操作系统
所有