Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // VIEW YOUR AVATAR THUMBNAIL CUSTOMIZATIONS: https://avatar.roblox.com/v1/avatar/thumbnail-customizations
- // doing ajax because easy csrf handling w/their middleware lol
- $.ajax({
- method: "POST",
- url: "https://avatar.roblox.com/v1/avatar/thumbnail-customization",
- contentType: "application/json",
- data: JSON.stringify({
- "camera": {
- // Ranges are inclusive.
- "distanceScale": 2, // 0.5 to 4
- "fieldOfViewDeg": 30, // 15 to 45
- "xRotDeg": 0, // -20 to 20
- "yRotDeg": 0 // -60 to 60
- },
- "emoteAssetId": 0, // emote asset id
- // idleAnimationAssetId used to exist here, it has since been removed.
- "thumbnailType": 1 // 1 = Closeup (headshot), 2 = FullBody (bodyshot). Closeup and FullBody can have different configurations.
- })
- });
Add Comment
Please, Sign In to add comment