TextBatchPrimitiveSet Method (IEnumerableCartesian, IEnumerableString)
public void Set( IEnumerable<Cartesian> positions, IEnumerable<string> text )
Public Sub Set ( positions As IEnumerable(Of Cartesian), text As IEnumerable(Of String) )
public: void Set( IEnumerable<Cartesian>^ positions, IEnumerable<String^>^ text )
member Set : positions : IEnumerable<Cartesian> * text : IEnumerable<string> -> unit
This call overwrites the primitive's previous strings. To update a subset of string, use SetPartial(IEnumerableCartesian, IEnumerableString, IEnumerableInt32)
If this method is called frequently, it is recommended to construct the primitive with Frequent, which is the default. If this method will be called only once or infrequently, construct the primitive with Infrequent. See the Set Hint topic for more information.
If the primitive's AutomaticallyComputeBoundingSphere property is , the primitive's BoundingSphere is computed based on positions. Otherwise, it is the caller's responsibility to update the primitive's BoundingSphere to a sphere that encompasses all the positions.