italink/unrealclientprotocol/unreal-modeling-deform

Claude Code and agent skill by italink/unrealclientprotocol

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

GeometryScript 变形与变换操作。当用户要求弯曲、扭曲、平滑、噪声、位移、平移、旋转、缩放网格时使用。

Install

npx vskill@latest install italink/unrealclientprotocol/unreal-modeling-deform

SKILL.md

建模 — 变形与变换

前置条件:先阅读 unreal-modeling。

库

库CDO
变形/Script/GeometryScriptingCore.Default__GeometryScriptLibrary_MeshDeformFunctions
变换/Script/GeometryScriptingCore.Default__GeometryScriptLibrary_MeshTransformFunctions

TargetMesh 为 UDynamicMesh* 路径字符串。Debug 省略。需要 FGeometryScriptMeshSelection 的函数,用 MeshOperationLibrary 桥接。

变形函数

函数关键参数说明
ApplyBendWarpToMeshTargetMesh, Options, BendOrientation(FTransform), BendAngle(float), BendExtent(float)弯曲变形
ApplyTwistWarpToMeshTargetMesh, Options, TwistOrientation, TwistAngle, TwistExtent扭曲变形
ApplyFlareWarpToMeshTargetMesh, Options, FlareOrientation, FlarePercentX, FlarePercentY, FlareExtent膨胀/收缩变形
ApplyMathWarpToMeshTargetMesh, WarpOrientation, WarpType, Options数学函数变形(正弦等)
ApplyIterativeSmoothingToMeshTargetMesh, Selection, Options迭代平滑(拉普拉斯风格)
ApplyDisplaceFromTextureMapTargetMesh, Texture, Selection, Options, UVLayer纹理位移
ApplyPerlinNoiseToMesh2TargetMesh, Selection, OptionsPerlin 噪声位移
ApplyDisplaceFromPerVertexVectorsTargetMesh, Selection, VectorList, Magnitude按顶点向量位移

变换函数

函数关键参数说明
TransformMeshTargetMesh, Transform, bFixOrientationForNegativeScale应用完整变换
InverseTransformMeshTargetMesh, Transform, bFixOrientationForNegativeScale应用逆变换
TranslateMeshTargetMesh, Translation(FVector)平移
RotateMeshTargetMesh, Rotation(FRotator), RotationOrigin(FVector)旋转
ScaleMeshTargetMesh, Scale(FVector), ScaleOrigin, bFixOrientationForNegativeScale缩放
TransformMeshSelectionTargetMesh, Selection, Transform变换选中区域
TranslateMeshSelectionTargetMesh, Selection, Translation平移选中区域
RotateMeshSelectionTargetMesh, Selection, Rotation, RotationOrigin旋转选中区域
ScaleMeshSelectionTargetMesh, Selection, Scale, ScaleOrigin缩放选中区域
TranslatePivotToLocationTargetMesh, PivotLocation移动枢轴点(等效于平移 mesh 到 -PivotLocation)

JSON 中 FTransform:{"Rotation":{"X":0,"Y":0,"Z":0,"W":1},"Translation":{"X":0,"Y":0,"Z":0},"Scale3D":{"X":1,"Y":1,"Z":1}}

JSON 中 FRotator:{"Pitch":0,"Yaw":90,"Roll":0}

结构体与枚举

FGeometryScriptBendWarpOptions
字段类型默认值说明
bSymmetricExtentsbooltrue对称范围
LowerExtentfloat10非对称时的下界
bBidirectionalbooltrue双向弯曲

BendAngle、BendExtent 是函数参数,不在 Options 内。

FGeometryScriptTwistWarpOptions

同弯曲:bSymmetricExtents、LowerExtent、bBidirectional。TwistAngle、TwistExtent 是函数参数。

FGeometryScriptFlareWarpOptions
字段类型默认值说明
bSymmetricExtentsbooltrue对称范围
LowerExtentfloat10非对称时的下界
FlareTypeEGeometryScriptFlareTypeSinMode膨胀曲线类型
EGeometryScriptFlareType
值说明
SinMode正弦曲线 sin(pi*x)
SinSquaredMode正弦平方(更平滑过渡)
TriangleMode分段线性(三角形轮廓)
FGeometryScriptIterativeMeshSmoothingOptions
字段类型默认值说明
NumIterationsint10迭代次数
Alphafloat0.2平滑系数
EmptyBehaviorEGeometryScriptEmptySelectionBehaviorFullMeshSelection空选择行为
FGeometryScriptPerlinNoiseOptions
字段类型说明
BaseLayerstruct包含 Magnitude(5.0)、Frequency(0.25)、FrequencyShift(FVector)、RandomSeed(0)
bApplyAlongNormalbool沿法线方向位移
EmptyBehaviorenum空选择行为
FGeometryScriptDisplaceFromTextureOptions
字段类型默认值说明
Magnitudefloat1位移幅度
UVScaleFVector2D(1,1)UV 缩放
UVOffsetFVector2D(0,0)UV 偏移
Centerfloat0.5中心值(低于此值为负位移)
ImageChannelint0采样通道
EmptyBehaviorenumFullMeshSelection空选择行为
EGeometryScriptEmptySelectionBehavior
值说明
FullMeshSelection空选择 = 选择全部
EmptySelection空选择 = 不选择任何东西

JSON 示例

迭代平滑(全 mesh,5 次迭代):

json
{"object":"/Script/GeometryScriptingCore.Default__GeometryScriptLibrary_MeshDeformFunctions","function":"ApplyIterativeSmoothingToMesh","params":{"TargetMesh":"/Engine/Transient.DynamicMesh_0","Selection":{},"Options":{"NumIterations":5,"Alpha":0.15,"EmptyBehavior":"FullMeshSelection"}}}

缩放 mesh(2 倍均匀缩放,原点为中心):

json
{"object":"/Script/GeometryScriptingCore.Default__GeometryScriptLibrary_MeshTransformFunctions","function":"ScaleMesh","params":{"TargetMesh":"/Engine/Transient.DynamicMesh_0","Scale":{"X":2,"Y":2,"Z":2},"ScaleOrigin":{"X":0,"Y":0,"Z":0},"bFixOrientationForNegativeScale":true}}

Perlin 噪声位移:

json
{"object":"/Script/GeometryScriptingCore.Default__GeometryScriptLibrary_MeshDeformFunctions","function":"ApplyPerlinNoiseToMesh2","params":{"TargetMesh":"/Engine/Transient.DynamicMesh_0","Selection":{},"Options":{"BaseLayer":{"Magnitude":10,"Frequency":0.1,"FrequencyShift":{"X":0,"Y":0,"Z":0},"RandomSeed":42},"bApplyAlongNormal":true,"EmptyBehavior":"FullMeshSelection"}}}

发现

对上述 CDO 路径调用 DescribeObject 可查看完整函数列表和参数签名。

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
114
Repository forks
14
7-day trend score
24

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/italink/unrealclientprotocol/unreal-modeling-deform/badge)](https://verified-skill.com/skills/italink/unrealclientprotocol/unreal-modeling-deform)

Something wrong with this skill or its page? Tell us.