类 LightModel
java.lang.Object
committee.nova.mods.avaritia.api.client.render.lighting.LightModel
- 所有已实现的接口:
IVertexOperation
-
嵌套类概要
嵌套类从接口继承的嵌套类/接口 committee.nova.mods.avaritia.api.client.render.pipeline.IVertexOperation
IVertexOperation.VertexOperationRegistry -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明addLight(LightModel.Light light) intbooleanload(CCRenderState ccrs) Load any required references and add dependencies to the pipeline based on the current model (may be null) Return false if this operation is redundant in the pipeline with the given modelvoidoperate(CCRenderState ccrs) Perform the operation on the current render stateintGet the unique id representing this type of operation.setAmbient(Vector3 vec)
-
字段详细资料
-
operationIndex
public static final int operationIndex -
standardLightModel
-
-
构造器详细资料
-
LightModel
public LightModel()
-
-
方法详细资料
-
addLight
-
setAmbient
-
apply
- 参数:
colour- The pre-lighting vertex colour. RGBA formatnormal- The normal at the vertex- 返回:
- The lighting applied colour
-
load
从接口复制的说明:IVertexOperationLoad any required references and add dependencies to the pipeline based on the current model (may be null) Return false if this operation is redundant in the pipeline with the given model- 指定者:
load在接口中IVertexOperation
-
operate
从接口复制的说明:IVertexOperationPerform the operation on the current render state- 指定者:
operate在接口中IVertexOperation
-
operationID
public int operationID()从接口复制的说明:IVertexOperationGet the unique id representing this type of operation. Duplicate operation IDs within the pipeline may have unexpected results. ID should be obtained from CCRenderState.registerOperation() and stored in a static variable- 指定者:
operationID在接口中IVertexOperation
-
reducePlanar
-