admin管理员组文章数量:1320594
So I'm defining a struct but I also want to define a struct within it. This is the basic code I'm using. Several things I don't understand.
- Why does the nested struct variable name needs to be the same as as struct name, in this case test2
- Why do I need to put a semicolon at the end of the nested struct definition?
testStruct = struct test
(
var1 = "a",
test2 = struct test2
(
var3 = "c",
var4 = "d"
);,
var2 = "b"
)
版权声明:本文标题:scripting - Can someone explain the struct definitions inside struct definitions in maxscript - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742081419a2419720.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论