Description:

Sets or adds a vertex normal to the list. If [index] is less than [Count], the existing vertex normal at [index] will be modified. If [index] equals [Count], a new vertex normal is appended to the end of the list. If [index] is larger than [Count], the function will return false.

Syntax:
public bool SetNormal(
int index,
double x,
double y,
double z
)
Parameters:
  • index
  • Type: int
  • Index of vertex normal to set.
  • x
  • Type: double
  • X component of vertex normal.
  • y
  • Type: double
  • Y component of vertex normal.
  • z
  • Type: double
  • Z component of vertex normal.
Returns:
Type: bool
True on success, False on failure.
Available since:
5.0

Description:

Sets or adds a normal to the list. If [index] is less than [Count], the existing vertex normal at [index] will be modified. If [index] equals [Count], a new vertex normal is appended to the end of the list. If [index] is larger than [Count], the function will return false.

Syntax:
public bool SetNormal(
int index,
float x,
float y,
float z
)
Parameters:
  • index
  • Type: int
  • Index of vertex normal to set.
  • x
  • Type: float
  • X component of vertex normal.
  • y
  • Type: float
  • Y component of vertex normal.
  • z
  • Type: float
  • Z component of vertex normal.
Returns:
Type: bool
True on success, False on failure.
Available since:
5.0

Description:

Sets or adds a vertex normal to the list. If [index] is less than [Count], the existing vertex normal at [index] will be modified. If [index] equals [Count], a new vertex normal is appended to the end of the list. If [index] is larger than [Count], the function will return false.

Syntax:
public bool SetNormal(
int index,
Vector3d normal
)
Parameters:
  • index
  • Type: int
  • Index of vertex normal to set.
  • normal
  • Type: Vector3d
  • The new normal at the index.
Returns:
Type: bool
True on success, False on failure.
Available since:
5.0

Description:

Sets or adds a vertex normal to the list. If [index] is less than [Count], the existing vertex normal at [index] will be modified. If [index] equals [Count], a new vertex normal is appended to the end of the vertex list. If [index] is larger than [Count], the function will return false.

Syntax:
public bool SetNormal(
int index,
Vector3f normal
)
Parameters:
  • index
  • Type: int
  • Index of vertex normal to set.
  • normal
  • Type: Vector3f
  • The new normal at the index.
Returns:
Type: bool
True on success, False on failure.
Available since:
5.0

Nothing found