create new constructor for VmcExtRootPos
This commit is contained in:
parent
b8186dac8b
commit
a1b49e25d6
|
@ -46,6 +46,20 @@ namespace godotVmcSharp
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public VmcExtRootPos(string _name, Godot.Transform3D _transform) : base(new godotOscSharp.Address("/VMC/Ext/Root/Pos"))
|
||||||
|
{
|
||||||
|
name = _name;
|
||||||
|
transform = _transform;
|
||||||
|
}
|
||||||
|
|
||||||
|
public VmcExtRootPos(string _name, Godot.Transform3D _transform, Godot.Vector3 _scale, Godot.Vector3 _offset) : base(new godotOscSharp.Address("/VMC/Ext/Root/Pos"))
|
||||||
|
{
|
||||||
|
name = _name;
|
||||||
|
transform = _transform;
|
||||||
|
scale = _scale;
|
||||||
|
offset = _offset;
|
||||||
|
}
|
||||||
|
|
||||||
private void Transform8(List<godotOscSharp.OscArgument> data)
|
private void Transform8(List<godotOscSharp.OscArgument> data)
|
||||||
{
|
{
|
||||||
if (data[0].Type != 's')
|
if (data[0].Type != 's')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user