nw::lyt::Material::SetTexSRTElement Member Function

Syntax

void SetTexSRTElement(
     u32 idx,
     u32 eleIdx,
     f32 value
);

Arguments

Name Description
idx The TexSRT index.
eleIdx The component index.
value The component value.

Return Values

None.

Description

Sets textures SRT parameters by specifying a component.

Specifies the display position, rotation, and scale ratio components of a texture and sets them.

Use lyt::AnimTargetTexSRT to specify eleIdx.

This function generates an assert if a value larger than the storable number of texture SRT matrices set by the ReserveMem() or SetTexSRTNum() function is passed in idx.

See Also

AnimTargetTexSRT
GetTexSRTElement
ReserveMem
SetTexSRTNum

Revision History

2009/09/18
Initial version.

CONFIDENTIAL