UniVRM/Assets/VRM10/Runtime/Format/Constraints/Format.g.cs
ousttrue fcfe82588d constraint rotation:local to local only に縮小。
その他のものは後に。
2021-12-28 16:39:17 +09:00

59 lines
1.5 KiB
C#

// This file is generated from JsonSchema. Don't modify this source code.
using System;
using System.Collections.Generic;
namespace UniGLTF.Extensions.VRMC_node_constraint
{
public class RotationConstraint
{
// Dictionary object with extension-specific objects.
public object Extensions;
// Application-specific data.
public object Extras;
// The user-defined name of this object.
public string Name;
// The index of the node constrains the node.
public int? Source;
// Axes be constrained by this constraint, in X-Y-Z order.
public bool[] FreezeAxes;
// The weight of the constraint.
public float? Weight;
}
public class Constraint
{
// Dictionary object with extension-specific objects.
public object Extensions;
// Application-specific data.
public object Extras;
// A constraint that links the rotation with a source.
public RotationConstraint Rotation;
}
public class VRMC_node_constraint
{
public const string ExtensionName = "VRMC_node_constraint";
// Dictionary object with extension-specific objects.
public object Extensions;
// Application-specific data.
public object Extras;
// Specification version of VRMC_node_constraint
public string SpecVersion;
// Contains position, rotation, or aim
public Constraint Constraint;
}
}