GeometryWriter

Write-only accessors for the geometry data associated with a rig.

Windows
MacOS
Linux

Warnings

  • Implementors should inherit from Writer itself and not this class.

Inheritance Hierarchy

References

Module

RigLogicLib

Header

/Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Public/dna/layers/GeometryWriter.h

Include

#include "dna/layers/GeometryWriter.h"

Syntax

class GeometryWriter : public virtual dna::DefinitionWriter

Remarks

Implementors should inherit from Writer itself and not this class.

Destructors

Name Description

Protected function Virtual

~GeometryWriter()

Functions

Name Description

Public function

void

 

clearBlendShapeTargets

(
    std::uint16_t meshIndex
)

Delete all blend shape targets for the specified mesh.

Public function

void

 

clearFaceVertexLayoutIndices

(
    std::uint16_t meshIndex
)

Delete all lists of vertex layout indices for the specified mesh.

Public function

void

 

clearMeshes()

Delete all meshes.

Public function

void

 

clearSkinWeights

(
    std::uint16_t meshIndex
)

Delete all skin weights for the specified mesh.

Public function

void

 

deleteMesh

(
    std::uint16_t meshIndex
)

Delete the specified mesh.

Public function

void

 

setBlendShapeChannelIndex

(
    std::uint16_t meshIndex,
    std::uint16_t blendShapeTargetIndex,
    std::uint16_t blendShapeChannelInde...
)

The matching blend shape channel index of the specified blend shape target. @note Associate the mesh-local blend shape target index with the absolute blend shape channel index as found in the Definition layer.

Public function

void

 

setBlendShapeTargetDeltas

(
    std::uint16_t meshIndex,
    std::uint16_t blendShapeTargetIndex,
    const Delta* deltas,
    std::uint32_t count
)

List of deltas for each affected vertex.

Public function

void

 

setBlendShapeTargetVertexIndices

(
    std::uint16_t meshIndex,
    std::uint16_t blendShapeTargetIndex,
    const std::uint32_t* vertexInd...,
    std::uint32_t count
)

Vertex position indices affected by the specified blend shape target.

Public function

void

 

setFaceVertexLayoutIndices

(
    std::uint16_t meshIndex,
    std::uint32_t faceIndex,
    const std::uint32_t* layoutInd...,
    std::uint32_t count
)

Vertex layout indices that belong to the specified face.

Public function

void

 

setMaximumInfluencePerVertex

(
    std::uint16_t meshIndex,
    std::uint16_t maxInfluenceCount
)

Public function

void

 

setSkinWeightsJointIndices

(
    std::uint16_t meshIndex,
    std::uint32_t vertexIndex,
    const std::uint16_t* jointIndi...,
    std::uint16_t count
)

List of joint indices associated with each skin weight for the specified vertex.

Public function

void

 

setSkinWeightsValues

(
    std::uint16_t meshIndex,
    std::uint32_t vertexIndex,
    const float* weights,
    std::uint16_t count
)

List of skin weights influencing the referenced vertex.

Public function

void

 

setVertexLayouts

(
    std::uint16_t meshIndex,
    const VertexLayout* layouts,
    std::uint32_t count
)

List of vertex layouts the belong to the specified mesh.

Public function

void

 

setVertexNormals

(
    std::uint16_t meshIndex,
    const Normal* normals,
    std::uint32_t count
)

List of vertex normals.

Public function

void

 

setVertexPositions

(
    std::uint16_t meshIndex,
    const Position* positions,
    std::uint32_t count
)

List of vertex positions.

Public function

void

 

setVertexTextureCoordinates

(
    std::uint16_t meshIndex,
    const TextureCoordinate* textu...,
    std::uint32_t count
)

List of vertex texture coordinates.

See Also

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss