Files
2026-07-13 13:13:17 +08:00

36 lines
1.5 KiB
C#

namespace Lib.mesh.generate;
[Guid("ab496711-8b99-4463-aac9-b41fdf46608d")]
internal sealed class RepeatMeshAtPoints : Instance<RepeatMeshAtPoints>
{
[Output(Guid = "df775b6c-d4ca-42f2-9ebd-6d5397b13ab0")]
public readonly Slot<MeshBuffers> Result = new();
[Input(Guid = "a7960188-ff39-4176-9d22-bc9d7e0cb2b5")]
public readonly InputSlot<T3.Core.DataTypes.BufferWithViews> Points = new InputSlot<T3.Core.DataTypes.BufferWithViews>();
[Input(Guid = "f8fb6e15-00dd-485e-a7fe-fa75c77182c2")]
public readonly InputSlot<T3.Core.DataTypes.MeshBuffers> InputMesh = new InputSlot<T3.Core.DataTypes.MeshBuffers>();
[Input(Guid = "abd961af-e76f-415b-a6ac-afb1cf08a1de")]
public readonly InputSlot<float> Scale = new InputSlot<float>();
[Input(Guid = "42fc43a2-c06c-466b-833f-e8bc28615553", MappedType = typeof(ScaleFXModes))]
public readonly InputSlot<int> ScaleFactor = new InputSlot<int>();
[Input(Guid = "631a4691-0774-40c7-a8fa-4b9ee76854d6")]
public readonly InputSlot<bool> ApplyPointScale = new InputSlot<bool>();
[Input(Guid = "13852947-11aa-4f54-b415-6867421f3bc0")]
public readonly InputSlot<System.Numerics.Vector3> Stretch = new InputSlot<System.Numerics.Vector3>();
[Input(Guid = "c981484b-1cef-4b53-abeb-f9f3ba4466e6", MappedType = typeof(ScaleFXModes))]
public readonly InputSlot<int> TexCoord2Factor = new InputSlot<int>();
private enum ScaleFXModes
{
None = 0,
F1 = 1,
F2 = 2,
}
}