You are here: Start » AVL.NET » Function Reference » Profile » Profile Basics » AVL.CreateUniformProfile

AVL.CreateUniformProfile

Creates a profile with all its elements set to the same value.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void CreateUniformProfile
(
	float inValue,
	int inSize,
	float inXOffset,
	float inXScale,
	AvlNet.Profile outProfile
)

Parameters

Name Type Range Default Description
inValuefloatInput common value of all elements.
inSizeint<0, +INF>1Input the number of elements. Default value: 1.
inXOffsetfloat0.0fX offset of the output profile. Default value: 0.0f.
inXScalefloat<0.001f, INF>1.0fX scale of the output profile. Default value: 1.0f.
outProfileAvlNet.ProfileOutput profile.

See also