mirror of
http://124.126.16.154:8888/singularity/HyperfDevelopmentKit.git
synced 2026-01-15 00:35:08 +08:00
feat(studio.resource): 增加了材料的硬度上下限
Signed-off-by: 李东云 <dongyun.li@luxcreo.ai>
This commit is contained in:
@@ -40,6 +40,11 @@ class Material extends JsonResource
|
||||
'k' => $this->pivot->k,
|
||||
'a' => $this->pivot->a,
|
||||
],
|
||||
// 硬度上下限
|
||||
'hardnessRange' => [
|
||||
'min' => $this->pivot->min_hardness,
|
||||
'max' => $this->pivot->max_hardness,
|
||||
],
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user