浏览代码

Transmit static state of the placer object to the placed ones (for lightmapping)

/main
Remy 7 年前
当前提交
3ca3456a
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
      Tests/GraphicsTests/RenderPipeline/HDRenderPipeline/CommonAssets/Scripts/Editor/MultiMaterialPlacerEditor.cs

2
Tests/GraphicsTests/RenderPipeline/HDRenderPipeline/CommonAssets/Scripts/Editor/MultiMaterialPlacerEditor.cs


o.transform.localRotation = Quaternion.identity;
o.transform.localScale = Vector3.one * _placer.scale;
o.transform.localEulerAngles = _placer.rotation;
o.gameObject.isStatic = _parent.gameObject.isStatic;
return o;
}

正在加载...
取消
保存