// Token: 0x06001829 RID: 6185 RVA: 0x00082014 File Offset: 0x00080214 public Transform GetBone(BoneIndex bone) { foreach (AvatarBone avatarBone in this._avatarBones) { if (avatarBone.Bone == bone) { return(avatarBone.Transform); } } return(base.transform); }
public static void AttachTo(EntHandle a, EntHandle b, BoneIndex bone = BoneIndex.Invalid, Vector3 offset = default, Vector3 rot = default) => Call(ATTACH_ENTITY_TO_ENTITY, a, b, bone, offset, rot, 0, 0, 0, 0, 2, 1);
// Token: 0x0600181C RID: 6172 RVA: 0x00010314 File Offset: 0x0000E514 public Transform GetBone(BoneIndex bone) { return(this.Configuration.GetBone(bone)); }
public static Vector3 Position(EntHandle ent, BoneIndex bone) => Call <Vector3>(GET_WORLD_POSITION_OF_ENTITY_BONE, ent, bone);