Header menu logo Nu

SkeletonRenderer Type

Draws region and mesh attachments.

Constructors

Constructor Description

SkeletonRenderer(createShaderFromStrings)

Full Usage: SkeletonRenderer(createShaderFromStrings)

Parameters:
    createShaderFromStrings : Func<string, string, uint32>

createShaderFromStrings : Func<string, string, uint32>

Instance members

Instance member Description

this.Destroy

Full Usage: this.Destroy

this.Draw

Full Usage: this.Draw

Parameters:
getTextureId : Func<obj, uint32>
skeleton : Skeleton
matrix : inref<Matrix4x4>

this.PremultipliedAlpha

Full Usage: this.PremultipliedAlpha

this.SkeletonClipping

Full Usage: this.SkeletonClipping

Returns: SkeletonClipping

Returns the SkeletonRenderer.SkeletonClipping used by this renderer for use with e.g. Skeleton.GetBounds

Returns: SkeletonClipping

this.VertexEffect

Full Usage: this.VertexEffect

this.Z

Full Usage: this.Z

A Z position offset added at each vertex.

this.ZSpacing

Full Usage: this.ZSpacing

Attachments are rendered back to front in the x/y plane by the SkeletonRenderer.
            Each attachment is offset by a customizable z-spacing value on the z-axis to avoid z-fighting
            in shaders with ZWrite enabled. Typical values lie in the range [-0.1, 0].

Type something to start searching.