AcTools.Render.Kn5SpecificForward.Materials.Kn5MaterialSimpleMirror.SetMatrices C# (CSharp) Метод

SetMatrices() публичный Метод

public SetMatrices ( Matrix objectTransform, ICamera camera ) : void
objectTransform Matrix
camera ICamera
Результат void
        public void SetMatrices(Matrix objectTransform, ICamera camera) {
            _effect.FxWorldViewProj.SetMatrix(objectTransform * camera.ViewProj);
            _effect.FxWorldInvTranspose.SetMatrix(Matrix.Invert(Matrix.Transpose(objectTransform)));
            _effect.FxWorld.SetMatrix(objectTransform);
        }