예제 #1
0
파일: Class1.cs 프로젝트: IDWMaster/3DAPI
        public RenderTargetChange(DXTexture target, DirectEngine engine, Vector3D _campos, Vector3D _camrot)
        {
            _engine = engine;
            interntarget = target;
            if (mchange != null)
            {
                hasran = true;
                previous = mchange.previous;
            }
            mchange = this;

            prevpos = _engine.cameraPosition;
            prevrot = _engine.worldRotation;
            campos = _campos;
            camrot = _camrot;
        }
예제 #2
0
파일: Class1.cs 프로젝트: IDWMaster/3DAPI
 public override void SetRenderTarget(Texture2D texture, Vector3D campos, Vector3D camrot)
 {
     RenderTargetChange mchange = new RenderTargetChange(texture as DXTexture, this,campos,camrot);
 }