rbx_dom_lua rojo-rbx/rbx-dom@6ccd30f (custom pivot get/set) (#868)

This commit is contained in:
Kenneth Loeffler
2024-02-20 12:08:55 -08:00
committed by GitHub
parent 8ff064fe28
commit ddb26c73bd
5 changed files with 518 additions and 97 deletions

View File

@@ -111,6 +111,18 @@ return {
return true, instance:ScaleTo(value)
end,
},
WorldPivotData = {
read = function(instance)
return true, instance:GetPivot()
end,
write = function(instance, _, value)
if value == nil then
return true, nil
else
return true, instance:PivotTo(value)
end
end,
},
},
Terrain = {
MaterialColors = {