Rendering Controller¶
The StarRail Character Rendering Controller
component is automatically added to the root object of the character.
Controlling Rendering¶
You can control some rendering effects by modifying the parameters in the inspector.
Synchronizing MMD Model's Head Bone¶
If you are using MMD models, you need to drag the Transform
of the head bone to the Head Bone
field.
C# API¶
Member Type | Name | Description |
---|---|---|
Property | RampCoolWarmMix | Blend level of the cool and warm Ramp textures. 0 is cool, 1 is warm. Range [0, 1] . |
Property | DitherAlpha | Transparency of the character. Range [0, 1] . |
Property | ExpressionCheekIntensity | Degree of cheek blush. Range [0, 1] . |
Property | ExpressionShyIntensity | Shyness level. Range [0, 1] . |
Property | ExpressionShadowIntensity | Darkening of the face. Range [0, 1] . |
Property | IsCastingShadow | Whether to cast shadows. |
Method | UpdateRendererList | Update the internal cached list of Renderer in the controller. |
SRP Batcher¶
- In Editor, this component uses
MaterialPropertyBlock
, which does not support the SRP Batcher. - After Build, this component uses
Renderer.material
, which supports the SRP Batcher.