示例#1
0
 public static Matrix CreateConstrainedBillboard(
     Vector3 objectPosition,
     Vector3 cameraPosition,
     Vector3 rotateAxis,
     Vector3?cameraForward,
     Vector3?objectForward)
 {
     return(new Matrix(Matrix4x4.CreateConstrainedBillboard(objectPosition, cameraPosition, rotateAxis, cameraForward, objectForward)));
 }