Skip to content

v0.0.7 - Multi-angle Screenshots & Additional Images

Latest

Choose a tag to compare

@dsgarage dsgarage released this 03 Dec 16:43

Added

Multi-angle Screenshot Support

  • FBX4VRMScreenshot.base64_images - List of base64 images for each angle
  • AddMultiAngleScreenshots(Dictionary<string, Texture2D>) - Add screenshots by angle name
  • AddMultiAngleScreenshots(Dictionary<string, byte[]>, width, height) - Add screenshots from byte arrays

Additional Images Support

  • FBX4VRMAdditionalImage - Model for user-attached images (filename, format, base64, description)
  • FBX4VRMBugReportRequest.additional_images - List of additional user images
  • FBX4VRMBugReportRequest.additional_screenshots - List of additional angle screenshots
  • AddAdditionalImage(Texture2D, filename, description) - Add user image
  • AddAdditionalImage(byte[], filename, format, description) - Add user image from bytes

Static ServerUrl Accessor

  • FBX4VRMApiClient.GetServerUrl() - Get current server URL for debugging

Usage Example

// Multi-angle screenshots
var angles = new Dictionary<string, Texture2D>
{
    { "front", frontTexture },
    { "back", backTexture },
    { "left", leftTexture },
    { "right", rightTexture }
};
FBX4VRMApiClient.AddMultiAngleScreenshots(request, angles);

// Additional user images
FBX4VRMApiClient.AddAdditionalImage(request, referenceImage, "reference.png", "Reference pose");

// Check server URL
Debug.Log($"Server: {FBX4VRMApiClient.GetServerUrl()}");

Installation

https://github.com/dsgarage/UnityBuildServer-SDK.git#v0.0.7