AngeliA
Search Results for

    Show / Hide Table of Contents

    Class PoseCharacterRenderer

    Constructors

    PoseCharacterRenderer(Character)

    Declaration
    public PoseCharacterRenderer(Character target)

    Fields

    BodyParts

    All body parts of the pose character

    Declaration
    public readonly BodyPart[] BodyParts

    CM_PER_PX

    How many cm does one artwork pixel represents

    Declaration
    public const int CM_PER_PX = 5

    EarID

    ID of current animal-ear gadget instance (like cat-girl's ears, not human ears)

    Declaration
    public readonly FrameBasedInt EarID

    FaceID

    ID of current face gadget instance

    Declaration
    public readonly FrameBasedInt FaceID

    ForceFaceExpressionIndex

    Which face expression does the face need to render

    Declaration
    public readonly FrameBasedInt ForceFaceExpressionIndex

    HairID

    ID of current hair gadget instance

    Declaration
    public readonly FrameBasedInt HairID

    HandGrabAttackTwistL

    Angle twist of the object grabbing by the left hand (0 means disappear, 1000 means normal)

    Declaration
    public readonly FrameBasedInt HandGrabAttackTwistL

    HandGrabAttackTwistR

    Angle twist of the object grabbing by the right hand (0 means disappear, 1000 means normal)

    Declaration
    public readonly FrameBasedInt HandGrabAttackTwistR

    HandGrabRotationL

    Rotation of the object grabbing by the left hand

    Declaration
    public readonly FrameBasedInt HandGrabRotationL

    HandGrabRotationR

    Rotation of the object grabbing by the right hand

    Declaration
    public readonly FrameBasedInt HandGrabRotationR

    HandGrabScaleL

    Size scaling of the object grabbing by the left hand (0 means 0%, 1000 means 100%)

    Declaration
    public readonly FrameBasedInt HandGrabScaleL

    HandGrabScaleR

    Size scaling of the object grabbing by the right hand (0 means 0%, 1000 means 100%)

    Declaration
    public readonly FrameBasedInt HandGrabScaleR

    HornID

    ID of current horn gadget instance

    Declaration
    public readonly FrameBasedInt HornID

    SuitBody

    Current body suit id (cloth with sleeves)

    Declaration
    public readonly FrameBasedInt SuitBody

    SuitFoot

    Current shoes suit id

    Declaration
    public readonly FrameBasedInt SuitFoot

    SuitHand

    Current gloves suit id

    Declaration
    public readonly FrameBasedInt SuitHand

    SuitHead

    Current hat suit id

    Declaration
    public readonly FrameBasedInt SuitHead

    SuitHip

    Current hip suit id (pants or skirt)

    Declaration
    public readonly FrameBasedInt SuitHip

    TailID

    ID of current tail gadget instance

    Declaration
    public readonly FrameBasedInt TailID

    WingID

    ID of current wing gadget instance

    Declaration
    public readonly FrameBasedInt WingID

    Properties

    BasicRootY

    Mid-Bottom local position of character hip y position

    Declaration
    public int BasicRootY { get; set; }

    BlendDuration

    How many frames does it takes the character to transition from one pose to another

    Declaration
    public int BlendDuration { get; set; }

    Body

    Body of the pose character

    Declaration
    public BodyPart Body { get; init; }

    BodyTwist

    Make body rotate left or right

    Declaration
    public int BodyTwist { get; set; }

    CharacterHeight

    Character body height in cm

    Declaration
    public int CharacterHeight { get; set; }

    FootL

    Left foot of the pose character

    Declaration
    public BodyPart FootL { get; init; }

    FootR

    Right foot of the pose character

    Declaration
    public BodyPart FootR { get; init; }

    HandL

    Left hand of the pose character

    Declaration
    public BodyPart HandL { get; init; }

    HandR

    Right hand of the pose character

    Declaration
    public BodyPart HandR { get; init; }

    Head

    Head of the pose character

    Declaration
    public BodyPart Head { get; init; }

    HeadTwist

    Make head rotate like shaking head

    Declaration
    public int HeadTwist { get; set; }

    Hip

    Hip of the pose character

    Declaration
    public BodyPart Hip { get; init; }

    LowerArmL

    Left lower arm of the pose character

    Declaration
    public BodyPart LowerArmL { get; init; }

    LowerArmR

    Right lower arm of the pose character

    Declaration
    public BodyPart LowerArmR { get; init; }

    LowerLegL

    Left lower leg of the pose character

    Declaration
    public BodyPart LowerLegL { get; init; }

    LowerLegR

    Right lower leg of the pose character

    Declaration
    public BodyPart LowerLegR { get; init; }

    PoseRootX

    Total offset X for pose rendering

    Declaration
    public int PoseRootX { get; set; }

    PoseRootY

    Total offset Y for pose rendering

    Declaration
    public int PoseRootY { get; set; }

    RenderedCellZ

    Basic rendering Z value for last time character get rendered

    Declaration
    public int RenderedCellZ { get; }

    ShoulderL

    Left shoulder of the pose character

    Declaration
    public BodyPart ShoulderL { get; init; }

    ShoulderR

    Right shoulder of the pose character

    Declaration
    public BodyPart ShoulderR { get; init; }

    UpperArmL

    Left upper arm of the pose character

    Declaration
    public BodyPart UpperArmL { get; init; }

    UpperArmR

    Right upper arm of the pose character

    Declaration
    public BodyPart UpperArmR { get; init; }

    UpperLegL

    Left upper leg of the pose character

    Declaration
    public BodyPart UpperLegL { get; init; }

    UpperLegR

    Right upper leg of the pose character

    Declaration
    public BodyPart UpperLegR { get; init; }

    Methods

    BeforeUpdate()

    Declaration
    public override void BeforeUpdate()
    Overrides
    CharacterRenderer.BeforeUpdate()

    GetGadgetID(BodyGadgetType)

    Get current body gadget ID the character is using

    Declaration
    public int GetGadgetID(BodyGadgetType type)

    GetSuitID(ClothType)

    Get current suit ID the character is using

    Declaration
    public int GetSuitID(ClothType type)

    LateUpdate()

    Declaration
    public override void LateUpdate()
    Overrides
    CharacterRenderer.LateUpdate()

    ManualPoseAnimate(int, int)

    Make the renderer draw the character based on the given animation for specified frames long

    Declaration
    public void ManualPoseAnimate(int id, int duration = 1)

    OnActivated()

    Callback function for character entity get activated

    Declaration
    public override void OnActivated()
    Overrides
    CharacterRenderer.OnActivated()

    OverridePoseAnimation(CharacterAnimationType, int, int)

    Override animation for given animation type for specified frames long

    Declaration
    public void OverridePoseAnimation(CharacterAnimationType type, int id, int duration = 1)

    PerformPoseAnimation()

    Declaration
    protected virtual void PerformPoseAnimation()

    ReloadRenderingConfigPoolFromFileAndSheet(bool)

    Declaration
    public static void ReloadRenderingConfigPoolFromFileAndSheet(bool forceReset = false)

    RenderBodyGadgets()

    Declaration
    protected virtual void RenderBodyGadgets()

    RenderCloths()

    Declaration
    protected virtual void RenderCloths()

    RenderEquipment()

    Declaration
    protected virtual void RenderEquipment()

    RenderInventory()

    Declaration
    protected virtual void RenderInventory()

    SaveCharacterToConfig(bool)

    Declaration
    public void SaveCharacterToConfig(bool saveToFile = false)

    SyncRenderingConfigFromPool(bool)

    Declaration
    public void SyncRenderingConfigFromPool(bool forceSync = false)

    TryGetConfigFromPool(int, out CharacterRenderingConfig)

    Declaration
    public static bool TryGetConfigFromPool(int id, out CharacterRenderingConfig config)
    Back to top ๐Ÿ„๐Ÿฆโ€โฌ›๐Ÿงฆ๐Ÿˆ๐ŸŽƒ๐Ÿ’“๐ŸŒนโ˜•๐Ÿดโ€โ˜ ๏ธ๐Ÿค