Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Plane.SetNormalAndPosition

public void SetNormalAndPosition(Vector3 inNormal, Vector3 inPoint);

Parameters

inNormalThe plane's normal vector.
inPointA point that lies on the plane.

Description

Sets a plane using a point that lies within it along with a normal to orient it.

Note that the normal must be a normalised vector.

no example available in C#

See Also: Set3Points.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答