コード例 #1
0
 public void Apply(RenderGeometry geometry)
 {
     geometry.ApplyLinearTransform(matrix, enablePerspective: true);
 }
コード例 #2
0
 public void Apply(RenderGeometry geometry)
 {
     geometry.ApplyLinearTransform(Matrix4x4.Translate(pivot) * Matrix4x4.TRS(translation, Quaternion.Euler(eularRotation), scale) * Matrix4x4.Translate(-pivot));
 }