BodyPoint

Description

Used to set the coordinates of a hook point where an accessory or a tool is hooked on an avatar.

Properties

        string   Name
    The custom name of this object.

        string   ClassName
    The object-type name.

        RWObject   Parent
    The parent of this object.

        Vector3   HeadPoint
    The hook point on the head.

        Vector3   HairPoint
    The hook point on the hair.

        Vector3   NeckPoint
    The hook point on the neck.

        Vector3   FacePoint
    The hook point on the head.

        Vector3   GlassesPoint
    The hook point of the head.

        Vector3   HatPoint
    The hook point on the head.

        Vector3   EarringPoint
    The hook point on the head.

        Vector3   ChestPoint
    The hook point on the chest.

        Vector3   FrontChestPoint
    The hook point on the chest.

        Vector3   BackChestPoint
    The hook point on the chest.

        Vector3   WaistPoint
    The hook point on the waist.

        Vector3   BeltPoint
    The hook point on the waist.

        Vector3   HipPoint
    The hook point on the hip.

        Vector3   TailPoint
    The hook point on the hip.

        Vector3   LeftArmPoint
    The hook point on the left arm.

        Vector3   LeftShoulderPoint
    The hook point on the left arm.

        Vector3   LeftHandPoint
    The hook point on the left hand.

        Vector3   LeftHandlePoint
    The hook point on the left hand.

        Vector3   RightArmPoint
    The hook point on the right arm.

        Vector3   RightShoulderPoint
    The hook point on the right arm.

        Vector3   RightHandPoint
    The hook point on the right hand.

        Vector3   RightHandlePoint
    The hook point on the right hand.

        Vector3   LeftUpperLegPoint
    The hook point on the left upper leg.

        Vector3   LeftLowerLegPoint
    The hook point on the left lower leg.

        Vector3   LeftFootPoint
    The hook point on the left foot.

        Vector3   RightUpperLegPoint
    The hook point on the right upper leg.

        Vector3   RightLowerLegPoint
    The hook point on the right lower leg.

        Vector3   RightFootPoint
    The hook point on the right foot.

        Vector3   LeftPalmPoint
    The center point of the left palm.

        Vector3   RightPalmPoint
    The center point of the right palm.

Functions

    RWObject.Create(classname)
    A special function, creating an instance of the specified class.

    DelAllChild()
    Deletes all child objects.

    Clone()
    Clones an object to create a copy.

    Destroy()
    Delete objects.

    GetAncestorByName(Name)
    Returns the object's first parent node with the same name.

    GetAncestorByClassName(className)
    Returns the object's first parent node of the same class.

    GetChildByName(Name,recursive)
    Returns the object's first child object with the same name. If the second parameter is true, it will search through descendants of all hierarchies.

    GetChildByClassName(className,recursive)
    Returns the object's first child object of the same type. If the second parameter is true, it will search through descendants of all hierarchies.

    GetAllChild()
    Seeks all its child objects and returns as a list.

    GetAllDescendant()
    Recursively seeks all its descendants and returns as a list.

    IsClass(ClassName)
    Judges whether it is the class the same as the given object class or not.

    IsAncestor(TarObj)
    Judges whether itself is the ancestor of the target object or not.

    IsDescendant(TarObj)
    Judges whether itself is the descendant of the target object or not.

    WaitForChild(childName,timeout)
    Seeks its own child object.

    Child(childName)
    Seeks its own child object by a given name.

    Equals(TarObj)
    Judges whether the target object is the same as itself or not.

Events

    ChildAdded(childobject)
    Triggered when a child object is added.

    ChildRemoved(childobject)
    Deletes all child objects.

    DescendantAdded(descendantobject)
    Triggered when a descendant is added.

    DescendantRemoved(descendantobject)
    Triggered when a descendant is removed.

    AncestryChanged(AncestryChanged)
    Triggered when the ancestry is changed.