CameraRenderState.java
net.minecraft.client.renderer.state.level.CameraRenderState
信息
- 全限定名:net.minecraft.client.renderer.state.level.CameraRenderState
- 类型:public class
- 包:net.minecraft.client.renderer.state.level
- 源码路径:src/main/java/net/minecraft/client/renderer/state/level/CameraRenderState.java
- 起始行号:L14
- 职责:
TODO
字段/常量
-
blockPos- 类型:
BlockPos - 修饰符:
public - 源码定位:
L15 - 说明:
TODO
- 类型:
-
pos- 类型:
Vec3 - 修饰符:
public - 源码定位:
L16 - 说明:
TODO
- 类型:
-
xRot- 类型:
float - 修饰符:
public - 源码定位:
L17 - 说明:
TODO
- 类型:
-
yRot- 类型:
float - 修饰符:
public - 源码定位:
L18 - 说明:
TODO
- 类型:
-
initialized- 类型:
boolean - 修饰符:
public - 源码定位:
L19 - 说明:
TODO
- 类型:
-
isPanoramicMode- 类型:
boolean - 修饰符:
public - 源码定位:
L20 - 说明:
TODO
- 类型:
-
orientation- 类型:
Quaternionf - 修饰符:
public - 源码定位:
L21 - 说明:
TODO
- 类型:
-
cullFrustum- 类型:
Frustum - 修饰符:
public - 源码定位:
L22 - 说明:
TODO
- 类型:
-
fogType- 类型:
FogType - 修饰符:
public - 源码定位:
L23 - 说明:
TODO
- 类型:
-
fogData- 类型:
FogData - 修饰符:
public - 源码定位:
L24 - 说明:
TODO
- 类型:
-
hudFov- 类型:
float - 修饰符:
public - 源码定位:
L25 - 说明:
TODO
- 类型:
-
depthFar- 类型:
float - 修饰符:
public - 源码定位:
L26 - 说明:
TODO
- 类型:
-
projectionMatrix- 类型:
Matrix4f - 修饰符:
public - 源码定位:
L27 - 说明:
TODO
- 类型:
-
viewRotationMatrix- 类型:
Matrix4f - 修饰符:
public - 源码定位:
L28 - 说明:
TODO
- 类型:
-
entityRenderState- 类型:
CameraEntityRenderState - 修饰符:
public - 源码定位:
L29 - 说明:
TODO
- 类型:
内部类/嵌套类型
- 无
构造器
- 无
方法
下面的方法块按源码顺序生成。
- 无
代码
@OnlyIn(Dist.CLIENT)
public class CameraRenderState {
public BlockPos blockPos = BlockPos.ZERO;
public Vec3 pos = new Vec3(0.0, 0.0, 0.0);
public float xRot;
public float yRot;
public boolean initialized;
public boolean isPanoramicMode;
public Quaternionf orientation = new Quaternionf();
public Frustum cullFrustum = new Frustum(new Matrix4f(), new Matrix4f());
public FogType fogType = FogType.NONE;
public FogData fogData = new FogData();
public float hudFov;
public float depthFar;
public Matrix4f projectionMatrix = new Matrix4f();
public Matrix4f viewRotationMatrix = new Matrix4f();
public CameraEntityRenderState entityRenderState = new CameraEntityRenderState();
}