我正在尝试在父节点的给定坐标处创建一个单独的顶点点。
# create a manager, scene and node
manager = fbx.FbxManager.Create()
scene = fbx.FbxScene.Create(manager, "")
node = fbx.FbxNode.Create(manager, "")
# create a mesh
mesh = fbx.FbxMesh.Create(scene, "")
# How to add a single vertex to the mesh?
# add the mesh attribute to the node
node.AddNodeAttribute(mesh)
# add node to the node tree
root_node = scene.GetRootNode()
root_node.AddChild(node)
# Translate the node to (0, 0, 10)
node.LclTranslation.Set(fbx.FbxDouble3(0, 0, 10))
这不需要是一个特定的Python答案。感谢您的帮助。